Share 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)

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