PerformanceCounters.Dump-Methode (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 (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared Sub Dump ( _
fileName As String, _
header As Boolean _
)
'Usage
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
)
Parameter
- fileName
Typ: System.String
A string that represents the file name of the dump file.
- header
Typ: System.Boolean
true if with header; otherwise, false.