Partager via


LogProvider.CloseLog Method

Closes the log.

Espace de noms: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntaxe

'Déclaration
Public Sub CloseLog
public void CloseLog ()
public:
void CloseLog ()
public void CloseLog ()
public function CloseLog ()

Notes

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.

Exemple

The following code example shows how to close the log.

CloseLog();
CloseLog()

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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