 | PublicIPExtensionsAssign Method |
Assigns the Public IP to a cloud server.
Namespace: Rackspace.SynchronousAssembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntaxpublic static void Assign(
this PublicIP publicIP,
string serverId
)
<ExtensionAttribute>
Public Shared Sub Assign (
publicIP As PublicIP,
serverId As String
)
public:
[ExtensionAttribute]
static void Assign(
PublicIP^ publicIP,
String^ serverId
)
[<ExtensionAttribute>]
static member Assign :
publicIP : PublicIP *
serverId : string -> unit
Parameters
- publicIP
- Type: Rackspace.RackConnect.v3PublicIP
- serverId
- Type: SystemString
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
PublicIP. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions
See Also