Freigeben über


CloseLog-Methode

Closes the log.

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

Syntax

'Declaration
Public Sub CloseLog
'Usage
Dim instance As LogProvider

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

Hinweise

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.

Beispiele

The following code example shows how to close the log.

CloseLog();
CloseLog()