AsymmetricKey.EnumObjectPermissions AsymmetricKey.EnumObjectPermissions AsymmetricKey.EnumObjectPermissions Method

Definition

Enumerates a list of object permissions for the asymmetric key.

Overloads

EnumObjectPermissions() EnumObjectPermissions() EnumObjectPermissions()

Enumerates a list of object permissions for the asymmetric key.

EnumObjectPermissions(ObjectPermissionSet) EnumObjectPermissions(ObjectPermissionSet) EnumObjectPermissions(ObjectPermissionSet)

Enumerates a list of object permissions for a specified permission on the asymmetric key.

EnumObjectPermissions(String) EnumObjectPermissions(String) EnumObjectPermissions(String)

Enumerates a list of object permissions for a specified grantee on the asymmetric key.

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

Enumerates a list of object permissions for a specified grantee and a specified permission on the asymmetric key.

EnumObjectPermissions() EnumObjectPermissions() EnumObjectPermissions()

Enumerates a list of object permissions for the asymmetric key.

public:
 virtual cli::array <Microsoft::SqlServer::Management::Smo::ObjectPermissionInfo ^> ^ EnumObjectPermissions();
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions ();
Public Function EnumObjectPermissions () As ObjectPermissionInfo()
Returns

An array of ObjectPermissionInfo objects that contains object permission information for the asymmetric key.

Implements

Examples

Calling Methods

EnumObjectPermissions(ObjectPermissionSet) EnumObjectPermissions(ObjectPermissionSet) EnumObjectPermissions(ObjectPermissionSet)

Enumerates a list of object permissions for a specified permission on the asymmetric key.

public:
 virtual cli::array <Microsoft::SqlServer::Management::Smo::ObjectPermissionInfo ^> ^ EnumObjectPermissions(Microsoft::SqlServer::Management::Smo::ObjectPermissionSet ^ permissions);
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions);
Public Function EnumObjectPermissions (permissions As ObjectPermissionSet) As ObjectPermissionInfo()
Parameters
permissions
ObjectPermissionSet ObjectPermissionSet ObjectPermissionSet

An ObjectPermissionSet value that specifies the permissions.

Returns

An array of ObjectPermissionInfo objects that contains object permission information for the specified permission on the asymmetric key.

Implements

Examples

Calling Methods

EnumObjectPermissions(String) EnumObjectPermissions(String) EnumObjectPermissions(String)

Enumerates a list of object permissions for a specified grantee on the asymmetric key.

public:
 virtual cli::array <Microsoft::SqlServer::Management::Smo::ObjectPermissionInfo ^> ^ EnumObjectPermissions(System::String ^ granteeName);
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (string granteeName);
Public Function EnumObjectPermissions (granteeName As String) As ObjectPermissionInfo()
Parameters
granteeName
String String String

A String value that specifies the grantee.

Returns

An array of ObjectPermissionInfo objects that contains object permission information for the specified grantee on the asymmetric key.

Implements

Examples

Calling Methods

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

Enumerates a list of object permissions for a specified grantee and a specified permission on the asymmetric key.

public:
 virtual cli::array <Microsoft::SqlServer::Management::Smo::ObjectPermissionInfo ^> ^ EnumObjectPermissions(System::String ^ granteeName, Microsoft::SqlServer::Management::Smo::ObjectPermissionSet ^ permissions);
public Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[] EnumObjectPermissions (string granteeName, Microsoft.SqlServer.Management.Smo.ObjectPermissionSet permissions);
Public Function EnumObjectPermissions (granteeName As String, permissions As ObjectPermissionSet) As ObjectPermissionInfo()
Parameters
granteeName
String String String

A String value that specifies the grantee.

permissions
ObjectPermissionSet ObjectPermissionSet ObjectPermissionSet

A ObjectPermissionSet object value that specifies the permission.

Returns

An array of ObjectPermissionInfo objects that contains object permission information for the specified grantee and permission on the asymmetric key.

Implements

Examples

Calling Methods

Applies to