Partager via


Méthode PerformanceCounters.Dump (String, Boolean)

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared Sub Dump ( _
    fileName As String, _
    header As Boolean _
)
'Utilisation
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
)

Paramètres

  • fileName
    Type : System.String
    A string that represents the file name of the dump file.
  • header
    Type : System.Boolean
    true if with header; otherwise, false.

Voir aussi

Référence

PerformanceCounters Classe

Surcharge Dump

Espace de noms Microsoft.SqlServer.Management.Smo