Compartir a través de


ConnectionManager.SetQualifier Método

Changes a qualifier on the connection manager after the connection manager has been created but before it is used in a running package.

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public Sub SetQualifier ( _
    qualifier As String _
)
'Uso
Dim instance As ConnectionManager 
Dim qualifier As String

instance.SetQualifier(qualifier)
public void SetQualifier(
    string qualifier
)
public:
void SetQualifier(
    String^ qualifier
)
member SetQualifier : 
        qualifier:string -> unit
public function SetQualifier(
    qualifier : String
)

Parámetros

  • qualifier
    Tipo: System.String
    The new qualifier to set on the connection manager.

Comentarios

The SetQualifier method modifies the value of the CreationName property by appending the fully-qualified provider name to the type of the connection manager. For example, the SetQualifier method has modified the name of the following ADO.NET connection manager by appending the fully-qualified provider name to "ADO.NET":

ADO.NET:System.Data.OleDb.OleDbConnection, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

This method can be used to change the qualifier only during design time. SetQualifier cannot be called on the connection manager during package execution.

Vea también

Referencia

ConnectionManager Clase

Espacio de nombres Microsoft.SqlServer.Dts.Runtime