共用方式為


Certificate.Events 屬性

Gets the events that are associated with the certificate.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property Events As CertificateEvents 
    Get
'用途
Dim instance As Certificate 
Dim value As CertificateEvents 

value = instance.Events
public CertificateEvents Events { get; }
public:
property CertificateEvents^ Events {
    CertificateEvents^ get ();
}
member Events : CertificateEvents
function get Events () : CertificateEvents

屬性值

型別:Microsoft.SqlServer.Management.Smo.CertificateEvents
A CertificateEvents object that represents the certificate events.

範例

處理 SMO 事件

請參閱

參考

Certificate 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

加密階層

CREATE CERTIFICATE (Transact-SQL)

使用加密