次の方法で共有


SPVirtualServer.State property

NOTE: This API is now obsolete.

Obsolete. Gets an SPVirtualServerState value that represents the state of the virtual server.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public ReadOnly Property State As SPVirtualServerState
    Get
'Usage
Dim instance As SPVirtualServer
Dim value As SPVirtualServerState

value = instance.State
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
    false)]
public SPVirtualServerState State { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPVirtualServerState
An SPVirtualServerState value that specifies the state.

See also

Reference

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace