Метод Operation.ScriptGrant
Grants the script for the operation.
Пространство имен: Microsoft.SqlServer.Management.IntegrationServices
Сборка: Microsoft.SqlServer.Management.IntegrationServices (в Microsoft.SqlServer.Management.IntegrationServices.dll)
Синтаксис
'Декларация
Public Function ScriptGrant ( _
permission As PermissionType, _
principalId As Integer _
) As ISfcScript
'Применение
Dim instance As Operation
Dim permission As PermissionType
Dim principalId As Integer
Dim returnValue As ISfcScript
returnValue = instance.ScriptGrant(permission, _
principalId)
public ISfcScript ScriptGrant(
PermissionType permission,
int principalId
)
public:
ISfcScript^ ScriptGrant(
PermissionType permission,
int principalId
)
member ScriptGrant :
permission:PermissionType *
principalId:int -> ISfcScript
public function ScriptGrant(
permission : PermissionType,
principalId : int
) : ISfcScript
Параметры
- permission
Тип: Microsoft.SqlServer.Management.IntegrationServices.PermissionType
The permission.
- principalId
Тип: System.Int32
The principal identifier.
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The granted operation script.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.IntegrationServices