Dela via


PerformanceCounters.Dump Method (Boolean)

Creates a user-mode or kernel-mode crash dump file for the PerformanceCounters class to a log file.

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

Syntax

'Declaration
Public Shared Sub Dump ( _
    toLogFile As Boolean _
)
'Usage
Dim toLogFile As Boolean

PerformanceCounters.Dump(toLogFile)
public static void Dump(
    bool toLogFile
)
public:
static void Dump(
    bool toLogFile
)
static member Dump : 
        toLogFile:bool -> unit 
public static function Dump(
    toLogFile : boolean
)

Parameters

  • toLogFile
    Type: System.Boolean
    true if log file is created; otherwise, false.