ServerNameNoDot 属性

此 API 支持 基础结构,但不能通过代码直接使用。

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 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).

命名空间:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
程序集:  Microsoft.SqlServer.RegSvrEnum(在 Microsoft.SqlServer.RegSvrEnum.dll 中)

语法

声明
Public ReadOnly Property ServerNameNoDot As String
    Get
用法
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

属性值

类型: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).