ConnectionManager.SetQualifier Method
Changes a qualifier on the connection manager after the connection manager has been created but before it is used in a running package.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
語法
'宣告
Public Sub SetQualifier ( _
qualifier As String _
)
public void SetQualifier (
string qualifier
)
public:
void SetQualifier (
String^ qualifier
)
public void SetQualifier (
String qualifier
)
public function SetQualifier (
qualifier : String
)
參數
- qualifier
The new qualifier to set on the connection manager.
備註
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 full-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.
執行緒安全性
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.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
ConnectionManager Class
ConnectionManager Members
Microsoft.SqlServer.Dts.Runtime Namespace