Freigeben über


IObjectPermission.EnumObjectPermissions Method

Definition

Overloads

EnumObjectPermissions()

Returns an array of Permission objects identifying all explicitly granted object access permissions.

EnumObjectPermissions(ObjectPermissionSet)

Returns an array of Permission objects identifying explicitly granted object access permissions. The permissions parameter specifies the object access permissions enumerated for the referenced object.

EnumObjectPermissions(String)

Returns an array of Permission objects identifying explicitly granted object access permissions for the grantee specified with the granteeName parameter.

EnumObjectPermissions(String, ObjectPermissionSet)

Returns an array of Permission objects identifying explicitly granted object access permissions for the grantee specified with the granteeName parameter, restricted to the object access permissions specified with the privilegeTypes parameter.

EnumObjectPermissions()

Returns an array of Permission objects identifying all explicitly granted object access permissions.

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

Returns

ObjectPermissionInfo[]

Applies to

EnumObjectPermissions(ObjectPermissionSet)

Returns an array of Permission objects identifying explicitly granted object access permissions. The permissions parameter specifies the object access permissions enumerated for the referenced object.

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[]
Public Function EnumObjectPermissions (permissions As ObjectPermissionSet) As ObjectPermissionInfo()

Parameters

permissions
ObjectPermissionSet

Returns

ObjectPermissionInfo[]

Applies to

EnumObjectPermissions(String)

Returns an array of Permission objects identifying explicitly granted object access permissions for the grantee specified with the granteeName parameter.

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

Parameters

granteeName
String

Returns

ObjectPermissionInfo[]

Applies to

EnumObjectPermissions(String, ObjectPermissionSet)

Returns an array of Permission objects identifying explicitly granted object access permissions for the grantee specified with the granteeName parameter, restricted to the object access permissions specified with the privilegeTypes parameter.

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[]
Public Function EnumObjectPermissions (granteeName As String, permissions As ObjectPermissionSet) As ObjectPermissionInfo()

Parameters

granteeName
String
permissions
ObjectPermissionSet

Returns

ObjectPermissionInfo[]

Applies to