ProjectInfo.Grant メソッド
指定したユーザーに権限を付与します。
名前空間: 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 ProjectInfo
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
権限の種類。
- granteeName
型: System.String
ユーザーの名前。