Grant メソッド (ObjectPermissionSet, String, Boolean, String)
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public Sub Grant ( _
permission As ObjectPermissionSet, _
granteeName As String, _
grantGrant As Boolean, _
asRole As String _
)
'使用
Dim instance As FullTextStopList
Dim permission As ObjectPermissionSet
Dim granteeName As String
Dim grantGrant As Boolean
Dim asRole As String
instance.Grant(permission, granteeName, _
grantGrant, asRole)
public void Grant(
ObjectPermissionSet permission,
string granteeName,
bool grantGrant,
string asRole
)
public:
virtual void Grant(
ObjectPermissionSet^ permission,
String^ granteeName,
bool grantGrant,
String^ asRole
) sealed
abstract Grant :
permission:ObjectPermissionSet *
granteeName:string *
grantGrant:bool *
asRole:string -> unit
override Grant :
permission:ObjectPermissionSet *
granteeName:string *
grantGrant:bool *
asRole:string -> unit
public final function Grant(
permission : ObjectPermissionSet,
granteeName : String,
grantGrant : boolean,
asRole : String
)
パラメーター
- granteeName
型: System. . :: . .String
- grantGrant
型: System. . :: . .Boolean
- asRole
型: System. . :: . .String
実装
IObjectPermission. . :: . .Grant(ObjectPermissionSet, String, Boolean, String)