مشاركة عبر


SymmetricKey.EnumObjectPermissions Method

Enumerates a list of object permissions for the symmetric key.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function EnumObjectPermissions As ObjectPermissionInfo()
'Usage
Dim instance As SymmetricKey 
Dim returnValue As ObjectPermissionInfo()

returnValue = instance.EnumObjectPermissions()
public ObjectPermissionInfo[] EnumObjectPermissions()
public:
virtual array<ObjectPermissionInfo^>^ EnumObjectPermissions() sealed
abstract EnumObjectPermissions : unit -> ObjectPermissionInfo[] 
override EnumObjectPermissions : unit -> ObjectPermissionInfo[] 
public final function EnumObjectPermissions() : ObjectPermissionInfo[]

Return Value

Type: array<Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
An array of ObjectPermissionInfo objects that contains object permission information for the symmetric key.

Implements

IObjectPermission.EnumObjectPermissions()

Examples

Using Encryption

See Also

Reference

SymmetricKey Class

EnumObjectPermissions Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy

CREATE SYMMETRIC KEY (Transact-SQL)