Partilhar via


Método PerformanceCounters.Dump (String, Boolean)

Creates a user-mode or kernel-mode crash dump file for the PerformanceCounters class with specified file name and header.

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

Sintaxe

'Declaração
Public Shared Sub Dump ( _
    fileName As String, _
    header As Boolean _
)
'Uso
Dim fileName As String 
Dim header As Boolean 

PerformanceCounters.Dump(fileName, header)
public static void Dump(
    string fileName,
    bool header
)
public:
static void Dump(
    String^ fileName, 
    bool header
)
static member Dump : 
        fileName:string * 
        header:bool -> unit
public static function Dump(
    fileName : String, 
    header : boolean
)

Parâmetros

  • fileName
    Tipo: System.String
    A string that represents the file name of the dump file.

Consulte também

Referência

PerformanceCounters Classe

Sobrecarregado Dump

Namespace Microsoft.SqlServer.Management.Smo