SPDatabaseServiceInstance.GrantViewServerStatePermission Method

Grants 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 GrantViewServerStatePermission ( _
    sid As SecurityIdentifier _
)
'Usage
Dim instance As SPDatabaseServiceInstance
Dim sid As SecurityIdentifier

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

Parameters

See Also

Reference

SPDatabaseServiceInstance Class

SPDatabaseServiceInstance Members

Microsoft.SharePoint.Administration Namespace