TaskExecutionContext.Log メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
タスク実行の進行状況をログに記録します。
オーバーロード
Log(ITask, Exception) |
指定したタスクと例外に対するタスク実行の進行状況をログに記録します。 |
Log(ITask, String) |
タスク実行の進行状況をログに記録します。 |
Log(ITask, String, TaskExecutionLogEntryType) |
指定したタスク、メッセージ、およびログ エントリの種類のタスク実行の進行状況をログに記録します。 |
Log(ITask, String, Exception, TaskExecutionLogEntryType) |
指定したタスク、メッセージ、例外、およびログ エントリの種類のタスク実行の進行状況をログに記録します。 |
Log(ITask, Exception)
指定したタスクと例外に対するタスク実行の進行状況をログに記録します。
public:
virtual void Log(Microsoft::SqlServer::Management::ITask ^ task, Exception ^ error);
public void Log (Microsoft.SqlServer.Management.ITask task, Exception error);
abstract member Log : Microsoft.SqlServer.Management.ITask * Exception -> unit
override this.Log : Microsoft.SqlServer.Management.ITask * Exception -> unit
Public Sub Log (task As ITask, error As Exception)
パラメーター
実装
適用対象
Log(ITask, String)
タスク実行の進行状況をログに記録します。
public:
virtual void Log(Microsoft::SqlServer::Management::ITask ^ task, System::String ^ message);
public void Log (Microsoft.SqlServer.Management.ITask task, string message);
abstract member Log : Microsoft.SqlServer.Management.ITask * string -> unit
override this.Log : Microsoft.SqlServer.Management.ITask * string -> unit
Public Sub Log (task As ITask, message As String)
パラメーター
実装
適用対象
Log(ITask, String, TaskExecutionLogEntryType)
指定したタスク、メッセージ、およびログ エントリの種類のタスク実行の進行状況をログに記録します。
public:
virtual void Log(Microsoft::SqlServer::Management::ITask ^ task, System::String ^ message, Microsoft::SqlServer::Management::TaskExecutionLogEntryType logEntryType);
public void Log (Microsoft.SqlServer.Management.ITask task, string message, Microsoft.SqlServer.Management.TaskExecutionLogEntryType logEntryType);
abstract member Log : Microsoft.SqlServer.Management.ITask * string * Microsoft.SqlServer.Management.TaskExecutionLogEntryType -> unit
override this.Log : Microsoft.SqlServer.Management.ITask * string * Microsoft.SqlServer.Management.TaskExecutionLogEntryType -> unit
Public Sub Log (task As ITask, message As String, logEntryType As TaskExecutionLogEntryType)
パラメーター
- logEntryType
- TaskExecutionLogEntryType
このメッセージの TaskExecutionLogEntryType です。
実装
適用対象
Log(ITask, String, Exception, TaskExecutionLogEntryType)
指定したタスク、メッセージ、例外、およびログ エントリの種類のタスク実行の進行状況をログに記録します。
public:
virtual void Log(Microsoft::SqlServer::Management::ITask ^ task, System::String ^ message, Exception ^ error, Microsoft::SqlServer::Management::TaskExecutionLogEntryType logEntryType);
public void Log (Microsoft.SqlServer.Management.ITask task, string message, Exception error, Microsoft.SqlServer.Management.TaskExecutionLogEntryType logEntryType);
abstract member Log : Microsoft.SqlServer.Management.ITask * string * Exception * Microsoft.SqlServer.Management.TaskExecutionLogEntryType -> unit
override this.Log : Microsoft.SqlServer.Management.ITask * string * Exception * Microsoft.SqlServer.Management.TaskExecutionLogEntryType -> unit
Public Sub Log (task As ITask, message As String, error As Exception, logEntryType As TaskExecutionLogEntryType)
パラメーター
- logEntryType
- TaskExecutionLogEntryType
このメッセージの TaskExecutionLogEntryType です。