Share via


AsymmetricKey Class

The AsymmetricKey object represents a SQL Server asymmetric key.

네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

구문

‘선언
Public NotInheritable Class AsymmetricKey
    Inherits NamedSmoObject
    Implements IAlterable, IDroppable, IObjectPermission
public sealed class AsymmetricKey : NamedSmoObject, IAlterable, IDroppable, IObjectPermission
public ref class AsymmetricKey sealed : public NamedSmoObject, IAlterable, IDroppable, IObjectPermission
public final class AsymmetricKey extends NamedSmoObject implements IAlterable, IDroppable, 
    IObjectPermission
public final class AsymmetricKey extends NamedSmoObject implements IAlterable, IDroppable, 
    IObjectPermission

주의

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

To get AsymmetricKey object properties, users can be a member of the public fixed server role.

To set any AsymmetricKey object properties and run the Alter method, users must have CONTROL permission on the database.

To create an AsymmetricKey object, users must have CREATE ASYMMETRIC KEY role permission on the parent database.

To drop an AsymmetricKey object, users must be the owner of the asymmetric key or have CONTROL permission on the asymmetric key.

To grant, deny, and revoke permission on the AsymmetricKey object, users must have CONROL permission on the asymmetric key.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Management.Smo.SmoObjectBase
     Microsoft.SqlServer.Management.Smo.SqlSmoObject
       Microsoft.SqlServer.Management.Smo.NamedSmoObject
        Microsoft.SqlServer.Management.Smo.AsymmetricKey

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

AsymmetricKey Members
Microsoft.SqlServer.Management.Smo Namespace

관련 자료

Using Encryption
암호화 계층
CREATE ASYMMETRIC KEY(Transact-SQL)