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.