Метод Operation.Grant
Grants permission to the operation.
Пространство имен: Microsoft.SqlServer.Management.IntegrationServices
Сборка: Microsoft.SqlServer.Management.IntegrationServices (в Microsoft.SqlServer.Management.IntegrationServices.dll)
Синтаксис
'Декларация
Public Sub Grant ( _
permission As PermissionType, _
granteeName As String _
)
'Применение
Dim instance As Operation
Dim permission As PermissionType
Dim granteeName As String
instance.Grant(permission, granteeName)
public void Grant(
PermissionType permission,
string granteeName
)
public:
void Grant(
PermissionType permission,
String^ granteeName
)
member Grant :
permission:PermissionType *
granteeName:string -> unit
public function Grant(
permission : PermissionType,
granteeName : String
)
Параметры
- permission
Тип: Microsoft.SqlServer.Management.IntegrationServices.PermissionType
The permission to be granted.
- granteeName
Тип: System.String
The name of the grantee.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.IntegrationServices