Udostępnij przez


DtsConvert.ToConnections Method

NOTE: This method is now obsolete.

*** Member obsolete; use the GetWrapper(IDTSConnections100) method instead. *** Converts a native IDTSConnections100 collection to a managed Connections collection. 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 ToConnections ( _
    connections As IDTSConnections100 _
) As Connections
[ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")] 
public static Connections ToConnections (
    IDTSConnections100 connections
)
[ObsoleteAttribute(L"The ToXXXX() methods have been replaced with the GetWrapper() method.")] 
public:
static Connections^ ToConnections (
    IDTSConnections100^ connections
)
/** @attribute ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.") */ 
public static Connections ToConnections (
    IDTSConnections100 connections
)
ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.") 
public static function ToConnections (
    connections : IDTSConnections100
) : Connections

Parameters

Return Value

A managed Connections collection.

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.