Share via


SMOServerConn.SqlServerName Property

Definition

Gets or sets a String that contains the name of the SQL Server to which you want to make the SMO connection.

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

Property Value

A String that contains the name of the SQL Server to connect to as an SMO connection.

Applies to