Linguaggio

ConnectionManagerHostClass Classe

Definizione

Rappresenta un connection manager che si collega a un host di attività.

public ref class ConnectionManagerHostClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::ConnectionManagerHost, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManager100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSObjectHost100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("0E06FA4E-C1AA-4EB5-9251-6CE59300EDD9")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class ConnectionManagerHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("C56B9432-0D62-4F6B-9843-6EEE5977A58F")]
public class ConnectionManagerHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("B3D2C3B7-1782-41D5-BC77-7FCE63B9C8AE")]
public class ConnectionManagerHostClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.ConnectionManagerHost, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSObjectHost100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("0E06FA4E-C1AA-4EB5-9251-6CE59300EDD9")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type ConnectionManagerHostClass = class
    interface ConnectionManagerHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSConnectionManager100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("C56B9432-0D62-4F6B-9843-6EEE5977A58F")>]
type ConnectionManagerHostClass = class
    interface ConnectionManagerHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSConnectionManager100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("B3D2C3B7-1782-41D5-BC77-7FCE63B9C8AE")>]
type ConnectionManagerHostClass = class
    interface ConnectionManagerHost
    interface IDTSName100
    interface IDTSObjectHost100
    interface IDTSConnectionManager100
Public Class ConnectionManagerHostClass
Implements ConnectionManagerHost, IDTSConnectionManager100, IDTSObjectHost100
Ereditarietà
ConnectionManagerHostClass
Attributi
Implementazioni

Commenti

Per altre informazioni, vedere ConnectionManager.

Costruttori

Nome Descrizione
ConnectionManagerHostClass()

Inizializza una nuova istanza della classe ConnectionManagerHostClass.

Proprietà

Nome Descrizione
ConnectionString

Ottiene o imposta la stringa di connessione usata per stabilire una connessione con una sorgente di dati.

CreationName

Ottiene la stringa usata dal runtime per creare un'istanza dell'oggetto ConnectionManagerHostClass . Questa proprietà è di sola lettura.

DelayValidation

Ottiene o imposta un Boolean che indica se la validazione del pacchetto è ritardata fino all'esecuzione del pacchetto.

Description

Ottiene o imposta la descrizione dell'oggetto ConnectionManagerHostClass .

HostType

Ottiene un'enumerazione che descrive il tipo di host che utilizza la connessione. Questa proprietà è di sola lettura.

ID

Ottiene l'ID del ConnectionManagerHostClass. Questa proprietà è di sola lettura.

InnerObject

Ottiene il tipo specifico di connessione creato. Questa proprietà è di sola lettura.

Name

Ottiene o imposta il nome dell'oggetto ConnectionManagerHostClass .

ProtectionLevel

Ottiene o imposta il livello di crittografia eseguito sui dati sensibili contenuti nel pacchetto.

Scope

Ottiene l'ambito del connection manager.

SupportsDTCTransactions

Restituisce un booleano che indica se la connessione supporta transazioni Microsoft Distributed Transaction Coordinator (MS DTC).

Metodi

Nome Descrizione
AcquireConnection(Object)

Crea un'istanza del tipo di connessione.

ReleaseConnection(Object)

Libera la connessione stabilita durante AcquireConnection(Object). Chiamato al momento della progettazione e di runtime.

SetQualifier(String)

Modifica un qualificatore nel connection manager dopo che il connection manager è stato creato ma prima che venga utilizzato in un pacchetto in esecuzione.

Validate(IDTSInfoEvents100)

Valida la connessione e restituisce un'enumerazione che indica successo o fallimento.

Si applica a