Share via


UIConnectionInfo.ServerNameNoDot Property

This API supports the SQL Server 2012 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 a String value that specifies the name of the instance of the Database Engine for the connection. If only a period (.) was specified in the dialog, ServerNameNoDot returns (local).

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

Syntax

'Declaration
Public ReadOnly Property ServerNameNoDot As String 
    Get
'Usage
Dim instance As UIConnectionInfo 
Dim value As String 

value = instance.ServerNameNoDot
public string ServerNameNoDot { get; }
public:
property String^ ServerNameNoDot {
    String^ get ();
}
member ServerNameNoDot : string
function get ServerNameNoDot () : String

Property Value

Type: System.String
A String value that specifies the name of the instance of the Database Engine for the connection. If only a period (.) was specified in the dialog, ServerNameNoDot returns (local).

See Also

Reference

UIConnectionInfo Class

Microsoft.SqlServer.Management.Smo.RegSvrEnum Namespace