다음을 통해 공유


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.