Udostępnij za pośrednictwem


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
public void CloseLog ()
public:
void CloseLog ()
public void CloseLog ()
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.

Example

The following code example shows how to close the log.

CloseLog();
CloseLog()

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

LogProvider Class
LogProvider Members
Microsoft.SqlServer.Dts.Runtime Namespace