IDTSLogging100.Log 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
寫入日誌條目。
public:
void Log(System::String ^ EventName, System::String ^ Computer, System::String ^ Operator, System::String ^ SourceName, System::String ^ SourceID, System::String ^ ExecutionID, System::String ^ MessageText, DateTime StartTime, DateTime EndTime, int DataCode, cli::array <System::Byte> ^ % DataBytes);
[System.Runtime.InteropServices.DispId(1610743808)]
public void Log(string EventName, string Computer, string Operator, string SourceName, string SourceID, string ExecutionID, string MessageText, DateTime StartTime, DateTime EndTime, int DataCode, ref byte[] DataBytes);
[<System.Runtime.InteropServices.DispId(1610743808)>]
abstract member Log : string * string * string * string * string * string * string * DateTime * DateTime * int * Byte[] -> unit
Public Sub Log (EventName As String, Computer As String, Operator As String, SourceName As String, SourceID As String, ExecutionID As String, MessageText As String, StartTime As DateTime, EndTime As DateTime, DataCode As Integer, ByRef DataBytes As Byte())
參數
- EventName
- String
事件呼叫日誌條目。
- Computer
- String
本地電腦的名稱。
- Operator
- String
使用者帳號。
- SourceName
- String
事件的來源物體。
- SourceID
- String
任務的識別碼。
- ExecutionID
- String
執行ID。
- MessageText
- String
要寫進日誌的文字。
- StartTime
- DateTime
事件的開始時間。
- EndTime
- DateTime
事件的結束時間。
- DataCode
- Int32
數值資料欄位。
- DataBytes
- Byte[]
用於二進位大型物件的位元組陣列欄位
- 屬性