Export (0) Print
Expand All

CatalogFolder.ScriptGrant Method

Indicates the script to grant the permission to a folder.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

public function ScriptGrant(
	permission : PermissionType, 
	principalId : int
) : ISfcScript

Parameters

permission
Type: Microsoft.SqlServer.Management.IntegrationServices.PermissionType
The permission type.
principalId
Type: Int32
The identifier of the principal.

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The script to grant the permission to a folder.

Community Additions

ADD
Show:
© 2014 Microsoft