Proprietà IServerInformation.NetName
Gets the network name for an instance of SQL Server.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
<DisplayNameKeyAttribute("Server_NetNameName")> _
<DisplayDescriptionKeyAttribute("Server_NetNameDesc")> _
ReadOnly Property NetName As String
Get
'Utilizzo
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
Valore proprietà
Tipo: System.String
The network name for an instance of SQL Server.