ProjectInfo.ScriptRevoke Method (PermissionType, Int32)

 

Retrieves the script to revoke the permission to a project.

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

Public Function ScriptRevoke (
	permission As PermissionType,
	principalId As Integer
) As ISfcScript

Parameters

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

The permission type.

principalId
Type: System.Int32

The ID of the principal.

Return Value

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

The script to revoke the permission to a project.

Return to top
Show: