Метод IDTSLogEntryInfos100.Add
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Adds a new log entry object to the IDTSLogEntryInfos100 collection.
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка: Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)
Синтаксис
'Декларация
Sub Add ( _
LogEntryName As String, _
Description As String, _
FrequencyHint As DTSLogEntryFrequency _
)
'Применение
Dim instance As IDTSLogEntryInfos100
Dim LogEntryName As String
Dim Description As String
Dim FrequencyHint As DTSLogEntryFrequency
instance.Add(LogEntryName, Description, _
FrequencyHint)
void Add(
string LogEntryName,
string Description,
DTSLogEntryFrequency FrequencyHint
)
void Add(
[InAttribute] String^ LogEntryName,
[InAttribute] String^ Description,
[InAttribute] DTSLogEntryFrequency FrequencyHint
)
abstract Add :
LogEntryName:string *
Description:string *
FrequencyHint:DTSLogEntryFrequency -> unit
function Add(
LogEntryName : String,
Description : String,
FrequencyHint : DTSLogEntryFrequency
)
Параметры
- LogEntryName
Тип: System.String
The name of the log entry to add to the collection.
- Description
Тип: System.String
A description for the log entry.
- FrequencyHint
Тип: Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSLogEntryFrequency
One of the valid values from the DTSLogEntryFrequency enumerator.
Замечания
For more information, see LogEntryInfos.