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.

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

WmiSmoObject Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

WMI and SQL Server

Connecting to the SQL Server Database Engine