Share via


SPIisWebSite.ServerState property

Gets a value that describes the server state.

Namespace:  Microsoft.SharePoint.AdministrationOperation
Assembly:  Microsoft.SharePoint.AdministrationOperation (in Microsoft.SharePoint.AdministrationOperation.dll)

Syntax

'Declaration
Public ReadOnly Property ServerState As SPIisWebSite.SPIisServerState
    Get
'Usage
Dim instance As SPIisWebSite
Dim value As SPIisWebSite.SPIisServerState

value = instance.ServerState
public SPIisWebSite.SPIisServerState ServerState { get; }

Property value

Type: Microsoft.SharePoint.AdministrationOperation.SPIisWebSite.SPIisServerState
A SPIisWebSite.SPIisServerState value that describes the server state.

Remarks

This property specifies the server state.

For a code sample on how to display the state of the server for the local SharePoint Foundation farm, see ServerState.

See also

Reference

SPIisWebSite class

SPIisWebSite members

Microsoft.SharePoint.AdministrationOperation namespace