Export (0) Print
Expand All

ServerTraceEvent.Add Method (ServerTraceEvent, ServerTraceEvent)

 

Applies To: SQL Server 2016 Preview

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.

Legacy Code Example

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft