Metodo GetWrapper (IDTSConnectionManager100)
Gets the managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object.
Spazio dei nomi: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Sintassi
'Dichiarazione
Public Shared Function GetWrapper ( _
connMgr As IDTSConnectionManager100 _
) As ConnectionManager
'Utilizzo
Dim connMgr As IDTSConnectionManager100
Dim returnValue As ConnectionManager
returnValue = DtsConvert.GetWrapper(connMgr)
public static ConnectionManager GetWrapper(
IDTSConnectionManager100 connMgr
)
public:
static ConnectionManager^ GetWrapper(
IDTSConnectionManager100^ connMgr
)
static member GetWrapper :
connMgr:IDTSConnectionManager100 -> ConnectionManager
public static function GetWrapper(
connMgr : IDTSConnectionManager100
) : ConnectionManager
Parametri
- connMgr
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .IDTSConnectionManager100
A native IDTSConnectionManager100 object.
Valore restituito
Tipo: Microsoft.SqlServer.Dts.Runtime. . :: . .ConnectionManager
The managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object
Osservazioni
Use the DtsConvert..::..GetWrapper(IDTSConnectionManager100) method instead of the obsolete ToConnectionManager method.
Vedere anche