ISfcConnection.ServerInstance 屬性
取得或設定連接的目標伺服器名稱。
命名空間: 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)
屬性值
型別:String
包含伺服器名稱的字串。