Share via


UIConnectionInfo.DisplayName Property

This API supports the infrastructure and is not intended to be used directly from your code.

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a String value that specifies the display name of the connection.

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)

Syntax

'Declaration
Public Property DisplayName As String
    Get
    Set
'Usage
Dim instance As UIConnectionInfo
Dim value As String

value = instance.DisplayName

instance.DisplayName = value
public string DisplayName { get; set; }
public:
property String^ DisplayName {
    String^ get ();
    void set (String^ value);
}
member DisplayName : string with get, set
function get DisplayName () : String
function set DisplayName (value : String)

Property Value

Type: System.String
A String value that specifies the display name of the connection.