Share via


WmiSmoObject.Trace Method

Creates a trace of the referenced object.

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

Syntax

'Declaration
Protected Shared Sub Trace ( _
    traceText As String _
)
'Usage
Dim traceText As String

WmiSmoObject.Trace(traceText)
protected static void Trace(
    string traceText
)
protected:
static void Trace(
    String^ traceText
)
static member Trace : 
        traceText:string -> unit 
protected static function Trace(
    traceText : String
)

Parameters

  • traceText
    Type: System.String
    A String value that specifies the buffer in which to store the trace output.