语言

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

属性值

服务器名称

适用于