ConnectionSettings.ServerInstance 属性
Gets or sets the name of the server.
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public Property ServerInstance As String
Get
Set
用法
Dim instance As ConnectionSettings
Dim value As String
value = instance.ServerInstance
instance.ServerInstance = value
public string ServerInstance { get; set; }
public:
virtual property String^ ServerInstance {
String^ get () sealed;
void set (String^ value) sealed;
}
abstract ServerInstance : string with get, set
override ServerInstance : string with get, set
final function get ServerInstance () : String
final function set ServerInstance (value : String)
属性值
类型:System.String
A String value that specifies the name of the server.