Partager via


Propriété IServerInformation.NetName

Gets the network name for an instance of SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayNameKeyAttribute("Server_NetNameName")> _
<DisplayDescriptionKeyAttribute("Server_NetNameDesc")> _
ReadOnly Property NetName As String 
    Get
'Utilisation
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

Valeur de propriété

Type : System.String
The network name for an instance of SQL Server.

Voir aussi

Référence

IServerInformation Interface

Espace de noms Microsoft.SqlServer.Management.Smo