Właściwość ISfcConnection.ServerInstance
Pobiera lub ustawia nazwę serwer docelowy dla połączenia.
Przestrzeń nazw: Microsoft.SqlServer.Management.Common
Zestaw: Microsoft.SqlServer.ConnectionInfo (w Microsoft.SqlServer.ConnectionInfo.dll)
Składnia
'Deklaracja
Property ServerInstance As String
Get
Set
'Użycie
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)
Wartość właściwości
Typ: System.String
Ciąg zawierający nazwa serwera.
Zobacz także