TraceInfo 方法 (String, Object[])

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
<ConditionalAttribute("DEBUG")> _
Public Shared Sub TraceInfo ( _
    strFormat As String, _
    ParamArray arg As Object() _
)
用法
Dim strFormat As String
Dim arg As Object()

Enumerator.TraceInfo(strFormat, arg)
[ConditionalAttribute("DEBUG")]
public static void TraceInfo(
    string strFormat,
    params Object[] arg
)
[ConditionalAttribute(L"DEBUG")]
public:
static void TraceInfo(
    String^ strFormat, 
    ... array<Object^>^ arg
)
[<ConditionalAttribute("DEBUG")>]
static member TraceInfo : 
        strFormat:string * 
        arg:Object[] -> unit 
public static function TraceInfo(
    strFormat : String, 
    ... arg : Object[]
)

参数

  • arg
    类型:array<System. . :: . .Object> [] () [] []
    An object that represents the trace information arguments.