Releases the unmanaged resources used by the control, and optionally releases the managed resources. This method is inherited from the Component.Dispose method.
네임스페이스: Microsoft.SqlServer.Dts.Runtime
어셈블리: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
구문
‘선언
Protected Overrides Sub Dispose ( _
disposing As Boolean _
)
protected override void Dispose (
bool disposing
)
protected:
virtual void Dispose (
bool disposing
) override
protected void Dispose (
boolean disposing
)
protected override function Dispose (
disposing : boolean
)
매개 변수
- disposing
A Boolean that specifies whether managed and unmanaged resources are released. true to release both managed and unmanaged resources; false to release only unmanaged resources.
주의
This method is called by the public Component.Dispose method and the Object.Finalize method. Dispose invokes the protected Dispose method with the disposing parameter set to true. Finalize invokes Dispose with disposing set to false.
When the disposing parameter is true, this method releases all resources held by any managed objects that this Controlclass references. This method invokes the Dispose method of each referenced object.
For more information about Dispose and Finalize, see "Cleaning Up Unmanaged Resources and Overriding the Finalize Method" in the .NET Framework Class Library.
상속자를 위한 정보: Dispose can be called multiple times by other objects. When overriding Dispose, be careful not to reference objects that have been previously disposed of in an earlier call. For more information about how to implement Dispose, see "Implementing a Dispose Method" in the .NET Framework Class Library.
스레드 보안
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.
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
ForEachEnumeratorUI Class
ForEachEnumeratorUI Members
Microsoft.SqlServer.Dts.Runtime Namespace