ASTaskBase.WriteLog 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Writes a log for the task.
命名空間: Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
組件: Microsoft.SqlServer.ASTasks (在 Microsoft.SqlServer.ASTasks.dll 中)
語法
'宣告
Protected Sub WriteLog ( _
log As IDTSLogging, _
message As String _
)
'用途
Dim log As IDTSLogging
Dim message As String
Me.WriteLog(log, message)
protected void WriteLog(
IDTSLogging log,
string message
)
protected:
void WriteLog(
IDTSLogging^ log,
String^ message
)
member WriteLog :
log:IDTSLogging *
message:string -> unit
protected function WriteLog(
log : IDTSLogging,
message : String
)
參數
- log
型別:Microsoft.SqlServer.Dts.Runtime.IDTSLogging
The log.
- message
型別:System.String
The message.
請參閱
參考
Microsoft.DataTransformationServices.Tasks.DTSProcessingTask 命名空間