ServerAlias.ServerName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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