共用方式為


ConnectionString 屬性

Gets or sets the connection string for the WMI connection.

命名空間:  Microsoft.SqlServer.Dts.ManagedConnections
組件:  Microsoft.SqlServer.ManagedConnections (在 Microsoft.SqlServer.ManagedConnections.dll 中)

語法

'宣告
Public Overrides Property ConnectionString As String
    Get
    Set
'用途
Dim instance As WMIConn
Dim value As String

value = instance.ConnectionString

instance.ConnectionString = value
public override string ConnectionString { get; set; }
public:
virtual property String^ ConnectionString {
    String^ get () override;
    void set (String^ value) override;
}
abstract ConnectionString : string with get, set
override ConnectionString : string with get, set
override function get ConnectionString () : String
override function set ConnectionString (value : String)

屬性值

型別:System. . :: . .String
A String that contains the connection string for the WMI connection.