語言

SqlAuthenticationParameters.ServerName 屬性

定義

會拿到伺服器名稱。

新開發的話,請使用 Microsoft。Data.SqlClient。 本頁說明了 System.Data.SqlClient。

public:
 property System::String ^ ServerName { System::String ^ get(); };
public string ServerName { get; }
member this.ServerName : string
Public ReadOnly Property ServerName As String

屬性值

伺服器名稱。

適用於