Metoda Enumerator.TraceInfo (String, array<Object[])
Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.
Przestrzeń nazw: Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw: Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Składnia
'Deklaracja
<ConditionalAttribute("DEBUG")> _
Public Shared Sub TraceInfo ( _
strFormat As String, _
ParamArray arg As Object() _
)
'Użycie
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[]
)
Parametry
- strFormat
Typ: System.String
A String obiekt, który reprezentuje format informacji.
- arg
Typ: array<System.Object[]
Obiekt reprezentujący argumenty informacji śledzenia.
Zobacz także