Partager via


Méthode IDTSLogEntryInfos100.Add

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Adds a new log entry object to the IDTSLogEntryInfos100 collection.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Sub Add ( _
    LogEntryName As String, _
    Description As String, _
    FrequencyHint As DTSLogEntryFrequency _
)
'Utilisation
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
)

Paramètres

  • 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.

Notes

For more information, see LogEntryInfos.

Voir aussi

Référence

IDTSLogEntryInfos100 Interface

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper