共用方式為


SPDatabaseServiceInstance.RevokeViewServerStatePermission Method

Revokes from the specified user permission to view the server state.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub RevokeViewServerStatePermission ( _
    sid As SecurityIdentifier _
)
'Usage
Dim instance As SPDatabaseServiceInstance
Dim sid As SecurityIdentifier

instance.RevokeViewServerStatePermission(sid)
public void RevokeViewServerStatePermission(
    SecurityIdentifier sid
)

Parameters

See Also

Reference

SPDatabaseServiceInstance Class

SPDatabaseServiceInstance Members

Microsoft.SharePoint.Administration Namespace