Operation.ScriptDeny Method
Denies the operation script.
Namespace: Microsoft.SqlServer.Management.IntegrationServices
Assembly: Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)
Syntax
'Declaration
Public Function ScriptDeny ( _
permission As PermissionType, _
principalId As Integer _
) As ISfcScript
'Usage
Dim instance As Operation
Dim permission As PermissionType
Dim principalId As Integer
Dim returnValue As ISfcScript
returnValue = instance.ScriptDeny(permission, _
principalId)
public ISfcScript ScriptDeny(
PermissionType permission,
int principalId
)
public:
ISfcScript^ ScriptDeny(
PermissionType permission,
int principalId
)
member ScriptDeny :
permission:PermissionType *
principalId:int -> ISfcScript
public function ScriptDeny(
permission : PermissionType,
principalId : int
) : ISfcScript
Parameters
- permission
Type: Microsoft.SqlServer.Management.IntegrationServices.PermissionType
The permission.
- principalId
Type: System.Int32
The principal identifier.
Return Value
Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The denied operation script.
See Also
Reference
Microsoft.SqlServer.Management.IntegrationServices Namespace