ServerTraceEventSet.Copy Method

Returns a copy of the event set.

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

Syntax

'Declaration
Public Overrides Function Copy As EventSetBase
'Usage
Dim instance As ServerTraceEventSet 
Dim returnValue As EventSetBase 

returnValue = instance.Copy()
public override EventSetBase Copy()
public:
virtual EventSetBase^ Copy() override
abstract Copy : unit -> EventSetBase  
override Copy : unit -> EventSetBase
public override function Copy() : EventSetBase

Return Value

Type: Microsoft.SqlServer.Management.Smo.EventSetBase
A ServerTraceEventSet object that represents a copy of the 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

ServerTraceEventSet Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Tracing and Replaying Events

SQL Server Event Class Reference