CloseLog Method
Collapse the table of content
Expand the table of content

LogProvider.CloseLog Method ()


Closes the log.

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

public void CloseLog()

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.

The following code example shows how to close the log.

Return to top
© 2016 Microsoft