Share via


CatalogFolder.ScriptRevoke Method

Indicates the script to revoke the permission to a folder.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntax

'Declaration
Public Function ScriptRevoke ( _
    permission As PermissionType, _
    principalId As Integer _
) As ISfcScript
'Usage
Dim instance As CatalogFolder 
Dim permission As PermissionType 
Dim principalId As Integer 
Dim returnValue As ISfcScript 

returnValue = instance.ScriptRevoke(permission, _
    principalId)
public ISfcScript ScriptRevoke(
    PermissionType permission,
    int principalId
)
public:
ISfcScript^ ScriptRevoke(
    PermissionType permission, 
    int principalId
)
member ScriptRevoke : 
        permission:PermissionType * 
        principalId:int -> ISfcScript
public function ScriptRevoke(
    permission : PermissionType, 
    principalId : int
) : ISfcScript

Parameters

  • principalId
    Type: System.Int32
    The identifier of the principal.

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The script to revoke the permission to a folder.

See Also

Reference

CatalogFolder Class

Microsoft.SqlServer.Management.IntegrationServices Namespace