Метод ProjectInfo.ScriptRevoke
Retrieves the script to revoke the permission to a project.
Пространство имен: 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 ProjectInfo
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 ID of the principal.
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The script to revoke the permission to a project.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.IntegrationServices