Condividi tramite


SPServiceApplication.SetAdministrationAccessControl Method

Applies control settings for administration access to the service application.

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

Syntax

'Declaration
Public Overridable Sub SetAdministrationAccessControl ( _
    security As SPCentralAdministrationSecurity _
)
'Usage
Dim instance As SPServiceApplication
Dim security As SPCentralAdministrationSecurity

instance.SetAdministrationAccessControl(security)
public virtual void SetAdministrationAccessControl(
    SPCentralAdministrationSecurity security
)

Parameters

Exceptions

Exception Condition
SecurityException

Current user does not have write permission.

ArgumentNullException

The object passed as an argument to the security parameter is a null reference (Nothing in Visual Basic).

See Also

Reference

SPServiceApplication Class

SPServiceApplication Members

Microsoft.SharePoint.Administration Namespace