共用方式為


UserDefinedTableType.EnumObjectPermissions Method

Definition

Overloads

EnumObjectPermissions()
EnumObjectPermissions(ObjectPermissionSet)
EnumObjectPermissions(String)
EnumObjectPermissions(String, ObjectPermissionSet)

EnumObjectPermissions()

public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions ();
abstract member EnumObjectPermissions : unit -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
override this.EnumObjectPermissions : unit -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions () As ObjectPermissionInfo()

Returns

Implements

Applies to

EnumObjectPermissions(ObjectPermissionSet)

public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions);
abstract member EnumObjectPermissions : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
override this.EnumObjectPermissions : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions (permissions As ObjectPermissionSet) As ObjectPermissionInfo()

Parameters

permissions
ObjectPermissionSet

Returns

Implements

Applies to

EnumObjectPermissions(String)

public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (string granteeName);
abstract member EnumObjectPermissions : string -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
override this.EnumObjectPermissions : string -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions (granteeName As String) As ObjectPermissionInfo()

Parameters

granteeName
String

Returns

Implements

Applies to

EnumObjectPermissions(String, ObjectPermissionSet)

public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (string granteeName, Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions);
abstract member EnumObjectPermissions : string * Microsoft.SqlServer.Management.Smo.ObjectPermissionSet -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
override this.EnumObjectPermissions : string * Microsoft.SqlServer.Management.Smo.ObjectPermissionSet -> Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
Public Function EnumObjectPermissions (granteeName As String, permissions As ObjectPermissionSet) As ObjectPermissionInfo()

Parameters

granteeName
String
permissions
ObjectPermissionSet

Returns

Implements

Applies to