Share via


Operation.ScriptRevoke(PermissionType, Int32) Method

Definition

Revokes the operation script.

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);
member this.ScriptRevoke : Microsoft.SqlServer.Management.IntegrationServices.PermissionType * int -> Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Public Function ScriptRevoke (permission As PermissionType, principalId As Integer) As ISfcScript

Parameters

permission
PermissionType

The permission.

principalId
Int32

The principal identifier.

Returns

The revoked operation script.

Applies to