Compartilhar via


Propriedade NetName

Gets the network name for an instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<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 da propriedade

Tipo: System. . :: . .String
String