Share via


HostingServer (Object)

 

Applies To: Windows Azure Pack

Represents a hosting server.

Elements

The HostingServer object has the following elements

Name

Description

Name

The name of the hosting server.

ServerId

The identifier of the server.

Created

A DateTime value that specifies when the server was created.

AvailableSpaceMB

The available storage space on the server, in MB.

TotalSpaceMB

The total storage space on the server, in MB.

AvailabilityGroup

The availability group, which specifies the failover configuration for the server.

DatabaseCount

The number of databases that are configured on the server.

State

The state of the hosting server. The possible values are:

Value

Description

0

No state.

1

The hosting server is active.

2

The hosting server needs to be recycled.

3

Unable to connect to hosting server.

ServerGroup

The storage group that the hosting server belongs to.

ConnectionString

The connection string for the hosting server

See Also

SQL Server Resource Provider Administrator Hosting Servers Interfaces