Compartilhar via


View.Grant Method

Definition

Overloads

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

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

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

Parameters

permission
ObjectPermissionSet
granteeName
String
columnNames
String[]
grantGrant
Boolean
asRole
String

Implements

Applies to

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

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

Parameters

permission
ObjectPermissionSet
granteeNames
String[]
columnNames
String[]
grantGrant
Boolean

Implements

Applies to

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

public void Grant (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string[] granteeNames, bool grantGrant, string asRole);
abstract member Grant : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * bool * string -> unit
override 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

Implements

Applies to

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

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

Parameters

permission
ObjectPermissionSet
granteeName
String
columnNames
String[]
grantGrant
Boolean

Implements

Applies to

Grant(ObjectPermissionSet, String, Boolean, String)

public void Grant (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string granteeName, bool grantGrant, string asRole);
abstract member Grant : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * bool * string -> unit
override 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

Implements

Applies to

Grant(ObjectPermissionSet, String, Boolean)

public void Grant (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string granteeName, bool grantGrant);
abstract member Grant : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string * bool -> unit
override 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

Implements

Applies to

Grant(ObjectPermissionSet, String[], Boolean)

public void Grant (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permission, string[] granteeNames, bool grantGrant);
abstract member Grant : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet * string[] * bool -> unit
override 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

Implements

Applies to

Grant(ObjectPermissionSet, String, String[])

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

Parameters

permission
ObjectPermissionSet
granteeName
String
columnNames
String[]

Implements

Applies to

Grant(ObjectPermissionSet, String[])

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

Parameters

permission
ObjectPermissionSet
granteeNames
String[]

Implements

Applies to

Grant(ObjectPermissionSet, String)

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

Parameters

permission
ObjectPermissionSet
granteeName
String

Implements

Applies to

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

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

Parameters

permission
ObjectPermissionSet
granteeNames
String[]
columnNames
String[]

Implements

Applies to

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

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

Parameters

permission
ObjectPermissionSet
granteeNames
String[]
columnNames
String[]
grantGrant
Boolean
asRole
String

Implements

Applies to