ProjectInfo.ScriptRevoke(PermissionType, Int32) ProjectInfo.ScriptRevoke(PermissionType, Int32) ProjectInfo.ScriptRevoke(PermissionType, Int32) Method

Definition

Retrieves the script to revoke the permission to a project.

public:
 Microsoft::SqlServer::Management::Sdk::Sfc::ISfcScript ^ ScriptRevoke(Microsoft::SqlServer::Management::IntegrationServices::PermissionType permission, int principalId);
public Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript ScriptRevoke (Microsoft.SqlServer.Management.IntegrationServices.PermissionType permission, int principalId);
Public Function ScriptRevoke (permission As PermissionType, principalId As Integer) As ISfcScript

Parameters

permission
PermissionType PermissionType PermissionType

The permission type.

principalId
Int32 Int32 Int32

The ID of the principal.

Returns

The script to revoke the permission to a project.

Applies to