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