Compartir a través de


NetName Propiedad

Gets the network name for an instance of SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<DisplayDescriptionKeyAttribute("Server_NetNameDesc")> _
<DisplayNameKeyAttribute("Server_NetNameName")> _
ReadOnly Property NetName As String
    Get
'Uso
Dim instance As IServerInformation
Dim value As String

value = instance.NetName
[DisplayDescriptionKeyAttribute("Server_NetNameDesc")]
[DisplayNameKeyAttribute("Server_NetNameName")]
string NetName { get; }
[DisplayDescriptionKeyAttribute(L"Server_NetNameDesc")]
[DisplayNameKeyAttribute(L"Server_NetNameName")]
property String^ NetName {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("Server_NetNameDesc")>]
[<DisplayNameKeyAttribute("Server_NetNameName")>]
abstract NetName : string
function get NetName () : String

Valor de la propiedad

Tipo: System. . :: . .String
String