CatalogFolder.ScriptDeny 方法
Indicates the script to deny the permission to a folder.
命名空间: Microsoft.SqlServer.Management.IntegrationServices
程序集: Microsoft.SqlServer.Management.IntegrationServices(在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)
语法
声明
Public Function ScriptDeny ( _
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.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
参数
- 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 deny the permission to a folder.