Share via


ActivityId.ToString Method

Returns a string representation of the current activity.

Namespace:  Microsoft.SqlServer.XEvent
Assembly:  Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As ActivityId 
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 representation of the current activity.

See Also

Reference

ActivityId Class

Microsoft.SqlServer.XEvent Namespace