Certificate.Events Property

Gets the events that are associated with the certificate.

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

Syntax

'Declaration
Public ReadOnly Property Events As CertificateEvents 
    Get
'Usage
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

Property Value

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

Examples

Handling SMO Events

See Also

Reference

Certificate Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy

CREATE CERTIFICATE (Transact-SQL)

Using Encryption