IServerInformation.NetName 屬性
Gets the network name for an instance of SQL Server.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<DisplayNameKeyAttribute("Server_NetNameName")> _
<DisplayDescriptionKeyAttribute("Server_NetNameDesc")> _
ReadOnly Property NetName As String
Get
'用途
Dim instance As IServerInformation
Dim value As String
value = instance.NetName
[DisplayNameKeyAttribute("Server_NetNameName")]
[DisplayDescriptionKeyAttribute("Server_NetNameDesc")]
string NetName { get; }
[DisplayNameKeyAttribute(L"Server_NetNameName")]
[DisplayDescriptionKeyAttribute(L"Server_NetNameDesc")]
property String^ NetName {
String^ get ();
}
[<DisplayNameKeyAttribute("Server_NetNameName")>]
[<DisplayDescriptionKeyAttribute("Server_NetNameDesc")>]
abstract NetName : string
function get NetName () : String
屬性值
型別:System.String
The network name for an instance of SQL Server.