共用方式為


IDTSLogEntryInfos100.Add(String, String, DTSLogEntryFrequency) Method

Definition

Adds a new log entry object to the IDTSLogEntryInfos100 collection.

public:
 void Add(System::String ^ LogEntryName, System::String ^ Description, Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSLogEntryFrequency FrequencyHint);
[System.Runtime.InteropServices.DispId(2)]
public void Add (string LogEntryName, string Description, Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSLogEntryFrequency FrequencyHint);
[<System.Runtime.InteropServices.DispId(2)>]
abstract member Add : string * string * Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSLogEntryFrequency -> unit
Public Sub Add (LogEntryName As String, Description As String, FrequencyHint As DTSLogEntryFrequency)

Parameters

LogEntryName
String

The name of the log entry to add to the collection.

Description
String

A description for the log entry.

FrequencyHint
DTSLogEntryFrequency

One of the valid values from the DTSLogEntryFrequency enumerator.

Attributes

Remarks

For more information, see LogEntryInfos.

Applies to