SPGlobalAdmin.CheckVirtualServerState Method
NOTE: This API is now obsolete.
Obsolete. In Windows SharePoint Services 2.0, the CheckVirtualServerState method verified whether the virtual server was in the specified state, and is maintained for backward compatibility.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.", _
False)> _
Public Sub CheckVirtualServerState ( _
nState As SPVirtualServerState _
)
'Usage
Dim instance As SPGlobalAdmin
Dim nState As SPVirtualServerState
instance.CheckVirtualServerState(nState)
[ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.",
false)]
public void CheckVirtualServerState(
SPVirtualServerState nState
)
Parameters
nState
Type: Microsoft.SharePoint.Administration.SPVirtualServerStateAn SPVirtualServerState value that specifies a state for a virtual server.