Share via


LogProvider.CloseLog Method

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()

Remarks

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.

Examples

The following code example shows how to close the log.

CloseLog();
CloseLog()