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.

참고 항목

참조

ConnectionSettings 클래스

Microsoft.SqlServer.Management.Common 네임스페이스