Udostępnij przez


DtsConvert.ToConnectionManager Method

NOTE: This method is now obsolete.

*** Member obsolete; use the GetWrapper(IDTSConnectionManager100) method instead. *** Converts a native IDTSConnectionManager100 object to a managed ConnectionManager object. This method is not CLS-compliant.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Deklaracja
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToConnectionManager ( _
    connMgr As IDTSConnectionManager100 _
) As ConnectionManager
[ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")] 
public static ConnectionManager ToConnectionManager (
    IDTSConnectionManager100 connMgr
)
[ObsoleteAttribute(L"The ToXXXX() methods have been replaced with the GetWrapper() method.")] 
public:
static ConnectionManager^ ToConnectionManager (
    IDTSConnectionManager100^ connMgr
)
/** @attribute ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.") */ 
public static ConnectionManager ToConnectionManager (
    IDTSConnectionManager100 connMgr
)
ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.") 
public static function ToConnectionManager (
    connMgr : IDTSConnectionManager100
) : ConnectionManager

Parameters

Return Value

The managed ConnectionManager object.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.