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.

注释

For more information, see LogEntryInfos.

请参阅

参考

IDTSLogEntryInfos100 接口

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间