Bagikan melalui


IDTSLogEntryInfos100.Add Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Adds a new log entry object to the IDTSLogEntryInfos100 collection.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Sub Add ( _
    LogEntryName As String, _
    Description As String, _
    FrequencyHint As DTSLogEntryFrequency _
)
'Usage
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
)

Parameters

  • LogEntryName
    Type: System.String
    The name of the log entry to add to the collection.
  • Description
    Type: System.String
    A description for the log entry.

Remarks

For more information, see LogEntryInfos.

See Also

Reference

IDTSLogEntryInfos100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace