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.

请参阅

参考

PerformanceCounters 类

Dump 重载

Microsoft.SqlServer.Management.Smo 命名空间