다음을 통해 공유


Certificate 클래스

The Certificate object represents a SQL Server certificate.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<PhysicalFacetAttribute> _
Public NotInheritable Class Certificate _
    Inherits NamedSmoObject _
    Implements ICreatable, IDroppable, IAlterable, IObjectPermission
‘사용 방법
Dim instance As Certificate
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[PhysicalFacetAttribute]
public sealed class Certificate : NamedSmoObject, 
    ICreatable, IDroppable, IAlterable, IObjectPermission
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[PhysicalFacetAttribute]
public ref class Certificate sealed : public NamedSmoObject, 
    ICreatable, IDroppable, IAlterable, IObjectPermission
[<SealedAttribute>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<PhysicalFacetAttribute>]
type Certificate =  
    class
        inherit NamedSmoObject
        interface ICreatable
        interface IDroppable
        interface IAlterable
        interface IObjectPermission
    end
public final class Certificate extends NamedSmoObject implements ICreatable, IDroppable, IAlterable, IObjectPermission

주의

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

To set the Certificate object properties and run the Alter method, users must have ALTER permission on the certificate.

To create a Certificate object, users must have CREATE CERTIFICATE permission on the parent database.

To drop a Certificate object, users must have CONTROL permission on the certificate.

To grant, deny, or revoke permission to other users on the Certificate object, users must have CONTROL permission on the certificate.

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.