ServerTraceEvent.Add Method (ServerTraceEvent, ServerTraceEvent)

 

Returns a server trace event set by adding two server trace events.

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

public static ServerTraceEventSet Add(
	ServerTraceEvent eventLeft,
	ServerTraceEvent eventRight
)

Parameters

eventLeft
Type: Microsoft.SqlServer.Management.Smo.ServerTraceEvent

A ServerTraceEvent object that specifies the server trace events.

eventRight
Type: Microsoft.SqlServer.Management.Smo.ServerTraceEvent

A ServerTraceEvent object that specifies the server trace events.

Return Value

Type: Microsoft.SqlServer.Management.Smo.ServerTraceEventSet

A ServerTraceEventSet object value that specifies a set of two server trace events.

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

Return to top
Show: