다음을 통해 공유


CloseLog 메서드

Closes the log.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS.dll의 Microsoft.SqlServer.ManagedDTS

구문

‘선언
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()