共用方式為


ServerName 屬性

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

For more information, see ConnectionManager.

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

語法

'宣告
Public Overridable Property ServerName As String
    Get
    Set
'用途
Dim instance As ConnectionManagerOdbcClass
Dim value As String

value = instance.ServerName

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

屬性值

型別:System. . :: . .String

實作

IDTSConnectionManagerDatabaseParameters100. . :: . .ServerName