Operation.ScriptDeny(PermissionType, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Denies the operation script.
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
- permission
- PermissionType
The permission.
- principalId
- Int32
The principal identifier.
Returns
The denied operation script.