RegisteredServer.ServerName 속성

Gets or sets the name of the server that is associated with the registered server.

네임스페이스:  Microsoft.SqlServer.Management.RegisteredServers
어셈블리:  Microsoft.SqlServer.Management.RegisteredServers(Microsoft.SqlServer.Management.RegisteredServers.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property ServerName As String 
    Get 
    Set
‘사용 방법
Dim instance As RegisteredServer 
Dim value As String 

value = instance.ServerName

instance.ServerName = value
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
public string ServerName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
public:
property String^ ServerName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
member ServerName : string with get, set
function get ServerName () : String 
function set ServerName (value : String)

속성 값

유형: System.String
A String value that specifies the name of the server.

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

참고 항목

참조

RegisteredServer 클래스

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