Share via


ServerTraceEvent.DatabaseMirroringStateChange Property

Gets a server trace event that can be included in the event set.

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

Syntax

'Declaration
Public Shared ReadOnly Property DatabaseMirroringStateChange As ServerTraceEvent 
    Get
'Usage
Dim value As ServerTraceEvent 

value = ServerTraceEvent.DatabaseMirroringStateChange
public static ServerTraceEvent DatabaseMirroringStateChange { get; }
public:
static property ServerTraceEvent^ DatabaseMirroringStateChange {
    ServerTraceEvent^ get ();
}
static member DatabaseMirroringStateChange : ServerTraceEvent
static function get DatabaseMirroringStateChange () : ServerTraceEvent

Property Value

Type: Microsoft.SqlServer.Management.Smo.ServerTraceEvent
A ServerTraceEvent object that represents the DatabaseMirroringStateChange event that can be included in the server trace event set.

Remarks

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

Examples

Handling SMO Events

See Also

Reference

ServerTraceEvent Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Trace Events for Use with Event Notifications