Share via


ServerTraceEvent.AuditDatabaseObjectTakeOwnershipEvent 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 AuditDatabaseObjectTakeOwnershipEvent As ServerTraceEvent
    Get
'Usage
Dim value As ServerTraceEvent

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.ServerTraceEvent
A ServerTraceEvent object that represents the AuditDatabaseObjectTakeOwnershipEvent 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.