PerformanceCounters.Dump 方法 (String, Boolean)
Creates a user-mode or kernel-mode crash dump file for the PerformanceCounters class with specified file name and header.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Shared Sub Dump ( _
fileName As String, _
header As Boolean _
)
'用途
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
)
參數
- fileName
型別:System.String
A string that represents the file name of the dump file.
- header
型別:System.Boolean
true if with header; otherwise, false.