Share via


ServerAlias.ServerName Property

Definition

Gets or sets the name of the instance of SQL Server to which the server alias connects.

public:
 property System::String ^ ServerName { System::String ^ get(); void set(System::String ^ value); };
public string ServerName { get; set; }
member this.ServerName : string with get, set
Public Property ServerName As String

Property Value

A String value that specifies the name of the instance of SQL Server to which the server alias connects.

Examples

Managing Services and Network Settings by Using WMI Provider

Applies to