CatalogFolder.Grant 方法
Grants permission to a specified user.
命名空间: 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 CatalogFolder
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 type.
- granteeName
类型:System.String
The name of the user.