Operation.ScriptGrant Method (PermissionType, Int32)

 

Grants the script for the operation.

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

public ISfcScript ScriptGrant(
	PermissionType permission,
	int principalId
)

Parameters

permission
Type: Microsoft.SqlServer.Management.IntegrationServices.PermissionType

The permission.

principalId
Type: System.Int32

The principal identifier.

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript

The granted operation script.

Return to top
Show: