ConnectionString 屬性
此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。
For more information, see ConnectionManager.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Public Overridable Property ConnectionString As String
Get
Set
'用途
Dim instance As ConnectionManagerHostClass
Dim value As String
value = instance.ConnectionString
instance.ConnectionString = value
public virtual string ConnectionString { get; set; }
public:
virtual property String^ ConnectionString {
String^ get ();
void set (String^ value);
}
abstract ConnectionString : string with get, set
override ConnectionString : string with get, set
function get ConnectionString () : String
function set ConnectionString (value : String)