次の方法で共有


ExternalLibrary.Grant Method

Definition

Overloads

Grant(ObjectPermissionSet, String[], Boolean, String)
Grant(ObjectPermissionSet, String, Boolean, String)
Grant(ObjectPermissionSet, String[], Boolean)
Grant(ObjectPermissionSet, String)
Grant(ObjectPermissionSet, String[])
Grant(ObjectPermissionSet, String, Boolean)

Grant(ObjectPermissionSet, String[], Boolean, String)

public void Grant (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string[] granteeNames, bool grantGrant, string asRole);
member this.Grant : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * bool * string -> unit
Public Sub Grant (permission As ObjectPermissionSet, granteeNames As String(), grantGrant As Boolean, asRole As String)

Parameters

permission
ObjectPermissionSet
granteeNames
String[]
grantGrant
Boolean
asRole
String

Applies to

Grant(ObjectPermissionSet, String, Boolean, String)

public void Grant (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string granteeName, bool grantGrant, string asRole);
member this.Grant : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * bool * string -> unit
Public Sub Grant (permission As ObjectPermissionSet, granteeName As String, grantGrant As Boolean, asRole As String)

Parameters

permission
ObjectPermissionSet
granteeName
String
grantGrant
Boolean
asRole
String

Applies to

Grant(ObjectPermissionSet, String[], Boolean)

public void Grant (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string[] granteeNames, bool grantGrant);
member this.Grant : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * bool -> unit
Public Sub Grant (permission As ObjectPermissionSet, granteeNames As String(), grantGrant As Boolean)

Parameters

permission
ObjectPermissionSet
granteeNames
String[]
grantGrant
Boolean

Applies to

Grant(ObjectPermissionSet, String)

public void Grant (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string granteeName);
member this.Grant : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string -> unit
Public Sub Grant (permission As ObjectPermissionSet, granteeName As String)

Parameters

permission
ObjectPermissionSet
granteeName
String

Applies to

Grant(ObjectPermissionSet, String[])

public void Grant (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string[] granteeNames);
member this.Grant : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] -> unit
Public Sub Grant (permission As ObjectPermissionSet, granteeNames As String())

Parameters

permission
ObjectPermissionSet
granteeNames
String[]

Applies to

Grant(ObjectPermissionSet, String, Boolean)

public void Grant (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string granteeName, bool grantGrant);
member this.Grant : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * bool -> unit
Public Sub Grant (permission As ObjectPermissionSet, granteeName As String, grantGrant As Boolean)

Parameters

permission
ObjectPermissionSet
granteeName
String
grantGrant
Boolean

Applies to