Partilhar via


Método CloseLog

Closes the log.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
Public Sub CloseLog
'Uso
Dim instance As LogProvider

instance.CloseLog()
public void CloseLog()
public:
void CloseLog()
member CloseLog : unit -> unit 
public function CloseLog()

Comentários

This method should be called at the end of package execution, after all of the objects in the package have completed execution, or when the package terminates due to errors.

Exemplos

The following code example shows how to close the log.

CloseLog();
CloseLog()