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

Definition

Retrieves the script to deny the permission to a project.

public:
 Microsoft::SqlServer::Management::Sdk::Sfc::ISfcScript ^ ScriptDeny(Microsoft::SqlServer::Management::IntegrationServices::PermissionType permission, int principalId);
public Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript ScriptDeny (Microsoft.SqlServer.Management.IntegrationServices.PermissionType permission, int principalId);
member this.ScriptDeny : Microsoft.SqlServer.Management.IntegrationServices.PermissionType * int -> Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Public Function ScriptDeny (permission As PermissionType, principalId As Integer) As ISfcScript

Parameters

principalId
Int32 Int32 Int32 Int32

The ID of the principal.

Returns

The script to deny the permission to a project.

Applies to