ServerTraceEvent.ToString Method

Returns the referenced object in string format.

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

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As ServerTraceEvent 
Dim returnValue As String 

returnValue = instance.ToString()
public override string ToString()
public:
virtual String^ ToString() override
abstract ToString : unit -> string  
override ToString : unit -> string
public override function ToString() : String

Return Value

Type: System.String
A String value that specifies the referenced object.

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