Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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()