CatalogFolder.ScriptRevoke Method (PermissionType, Int32)

 

Indicates the script to revoke the permission to a folder.

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

public ISfcScript ScriptRevoke(
	PermissionType permission,
	int principalId
)

Parameters

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

The permission type.

principalId
Type: System.Int32

The identifier of the principal.

Return Value

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

The script to revoke the permission to a folder.

Return to top
Show: