Partilhar via


SPDatabase.GrantOwnerAccessToDatabaseAccount Method

Grants the database owner permissions to the database access account.

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

Syntax

'Declaration
Public Sub GrantOwnerAccessToDatabaseAccount
'Usage
Dim instance As SPDatabase

instance.GrantOwnerAccessToDatabaseAccount()
public void GrantOwnerAccessToDatabaseAccount()

See Also

Reference

SPDatabase Class

SPDatabase Members

Microsoft.SharePoint.Administration Namespace