CloseLog 方法

Closes the log.

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public Sub CloseLog
用法
Dim instance As LogProvider

instance.CloseLog()
public void CloseLog()
public:
void CloseLog()
member CloseLog : unit -> unit 
public function 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.

CloseLog();
CloseLog()