CatalogFolder.ScriptRevoke 方法
Indicates the script to revoke the permission to a folder.
命名空间: Microsoft.SqlServer.Management.IntegrationServices
程序集: Microsoft.SqlServer.Management.IntegrationServices(在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)
语法
声明
Public Function ScriptRevoke ( _
permission As PermissionType, _
principalId As Integer _
) As ISfcScript
用法
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
参数
- permission
类型:Microsoft.SqlServer.Management.IntegrationServices.PermissionType
The permission type.
- principalId
类型:System.Int32
The identifier of the principal.
返回值
类型:Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The script to revoke the permission to a folder.