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).