Share via


SPDataAccessPermissionManager.GetGrantPermissionScript method

This member overrides SPDatabaseObjectPermissionManager.GetGrantPermissionScript(String, DatabaseObjectType, String).

Namespace:  Microsoft.SharePoint.Utilities.Sql
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides Function GetGrantPermissionScript ( _
    name As String, _
    objType As DatabaseObjectType, _
    schemaName As String _
) As String
'Usage
Dim instance As SPDataAccessPermissionManager
Dim name As String
Dim objType As DatabaseObjectType
Dim schemaName As String
Dim returnValue As String

returnValue = instance.GetGrantPermissionScript(name, _
    objType, schemaName)
public override string GetGrantPermissionScript(
    string name,
    DatabaseObjectType objType,
    string schemaName
)

Parameters

Return value

Type: System.String

See also

Reference

SPDataAccessPermissionManager class

SPDataAccessPermissionManager members

Microsoft.SharePoint.Utilities.Sql namespace