LogProviderXMLFileClass.Log Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the log entry.
public:
virtual 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) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogging100::Log;
public virtual 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);
abstract member Log : string * string * string * string * string * string * string * DateTime * DateTime * int * Byte[] -> unit
override this.Log : string * string * string * string * string * string * string * DateTime * DateTime * int * Byte[] -> unit
Public Overridable 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())
Parameters
- EventName
- String
The event calling the log entry.
- Computer
- String
The local computer.
- Operator
- String
The user account.
- SourceName
- String
The object that is the source of the event.
- SourceID
- String
The identifier of the source.
- ExecutionID
- String
The identifier of the specific execution.
- MessageText
- String
The text to write in the log.
- StartTime
- DateTime
The start time of the event.
- EndTime
- DateTime
The end time of the event.
- DataCode
- Int32
The numeric data field.
- DataBytes
- Byte[]
A byte array field for binary large objects (BLOBs).