Freigeben über


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

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.

Beispiel

The following code example shows how to close the log.

CloseLog();
CloseLog()

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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