TaskExecutionContext.Log Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Registra lo stato dell'esecuzione dell'attività.
Overload
| Log(ITask, Exception) |
Registra lo stato dell'esecuzione dell'attività per l'attività e l'eccezione specificate. |
| Log(ITask, String) |
Registra lo stato dell'esecuzione dell'attività. |
| Log(ITask, String, TaskExecutionLogEntryType) |
Registra lo stato dell'esecuzione dell'attività con l'attività, il messaggio e il tipo di voce di log specificati. |
| Log(ITask, String, Exception, TaskExecutionLogEntryType) |
Registra lo stato dell'esecuzione dell'attività con l'attività, il messaggio, l'eccezione e il tipo di voce di log specificati. |
Log(ITask, Exception)
Registra lo stato dell'esecuzione dell'attività per l'attività e l'eccezione specificate.
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)
Parametri
Implementazioni
Si applica a
Log(ITask, String)
Registra lo stato dell'esecuzione dell'attività.
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)
Parametri
Implementazioni
Si applica a
Log(ITask, String, TaskExecutionLogEntryType)
Registra lo stato dell'esecuzione dell'attività con l'attività, il messaggio e il tipo di voce di log specificati.
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)
Parametri
- logEntryType
- TaskExecutionLogEntryType
Oggetto TaskExecutionLogEntryType di questo messaggio.
Implementazioni
Si applica a
Log(ITask, String, Exception, TaskExecutionLogEntryType)
Registra lo stato dell'esecuzione dell'attività con l'attività, il messaggio, l'eccezione e il tipo di voce di log specificati.
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)
Parametri
- logEntryType
- TaskExecutionLogEntryType
Oggetto TaskExecutionLogEntryType di questo messaggio.