VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::appliance::system::time::Timezone Interface Reference

The Timezone interface provides methods to get and set the appliance timezone. More...

Inherited by vmware::appliance::system::time::TimezoneStub.

List of all members.

Public Member Functions

void Set (string name)
 Set time zone.
void Set (string name, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Set time zone.
global::System.Threading.Tasks.Task SetAsync (string name)
 Set time zone.
global::System.Threading.Tasks.Task SetAsync (string name, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Set time zone.
string Get ()
 Get time zone.
string Get (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Get time zone.
global::System.Threading.Tasks.Task
< string > 
GetAsync ()
 Get time zone.
global::System.Threading.Tasks.Task
< string > 
GetAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Get time zone.

Detailed Description

The Timezone interface provides methods to get and set the appliance timezone.

This interface was added in vSphere API 6.7.


Member Function Documentation

string vmware::appliance::system::time::Timezone::Get ( )

Get time zone.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif timezone cannot be read.
Returns:
Time zone name.

Implemented in vmware::appliance::system::time::TimezoneStub.

string vmware::appliance::system::time::Timezone::Get ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Get time zone.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif timezone cannot be read.
Returns:
Time zone name.

Implemented in vmware::appliance::system::time::TimezoneStub.

global::System.Threading.Tasks.Task<string> vmware::appliance::system::time::Timezone::GetAsync ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Get time zone.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif timezone cannot be read.
Returns:
Time zone name.

Implemented in vmware::appliance::system::time::TimezoneStub.

global::System.Threading.Tasks.Task<string> vmware::appliance::system::time::Timezone::GetAsync ( )

Get time zone.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.Errorif timezone cannot be read.
Returns:
Time zone name.

Implemented in vmware::appliance::system::time::TimezoneStub.

void vmware::appliance::system::time::Timezone::Set ( string  name,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Set time zone.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif passed arguments are invalid.
vmware.vapi.std.errors.Errorif any error occurs during the execution of the operation.
Parameters:
nameTime zone name.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::appliance::system::time::TimezoneStub.

void vmware::appliance::system::time::Timezone::Set ( string  name)

Set time zone.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif passed arguments are invalid.
vmware.vapi.std.errors.Errorif any error occurs during the execution of the operation.
Parameters:
nameTime zone name.

Implemented in vmware::appliance::system::time::TimezoneStub.

global::System.Threading.Tasks.Task vmware::appliance::system::time::Timezone::SetAsync ( string  name)

Set time zone.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif passed arguments are invalid.
vmware.vapi.std.errors.Errorif any error occurs during the execution of the operation.
Parameters:
nameTime zone name.

Implemented in vmware::appliance::system::time::TimezoneStub.

global::System.Threading.Tasks.Task vmware::appliance::system::time::Timezone::SetAsync ( string  name,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
)

Set time zone.

This method was added in vSphere API 6.7.

Exceptions:
vmware.vapi.std.errors.InvalidArgumentif passed arguments are invalid.
vmware.vapi.std.errors.Errorif any error occurs during the execution of the operation.
Parameters:
nameTime zone name.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implemented in vmware::appliance::system::time::TimezoneStub.


The documentation for this interface was generated from the following file: