ComputeServiceExtensions_v2_1GetVncConsole Method |
Gets a VNC console for a server.
Namespace: OpenStack.SynchronousAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public static RemoteConsole GetVncConsole(
this ComputeService service,
Identifier serverId,
RemoteConsoleType type
)
<ExtensionAttribute>
Public Shared Function GetVncConsole (
service As ComputeService,
serverId As Identifier,
type As RemoteConsoleType
) As RemoteConsole
public:
[ExtensionAttribute]
static RemoteConsole^ GetVncConsole(
ComputeService^ service,
Identifier^ serverId,
RemoteConsoleType^ type
)
[<ExtensionAttribute>]
static member GetVncConsole :
service : ComputeService *
serverId : Identifier *
type : RemoteConsoleType -> RemoteConsole
Parameters
- service
- Type: OpenStack.Compute.v2_1ComputeService
- serverId
- Type: OpenStackIdentifier
The server identifier. - type
- Type: OpenStack.Compute.v2_1RemoteConsoleType
The remote console type.
Return Value
Type:
RemoteConsoleUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ComputeService. 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 Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6
See Also