Sdílet prostřednictvím


Server.NetName Property

Gets the NetName property value.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property NetName As String
    Get
'Usage
Dim instance As Server
Dim value As String

value = instance.NetName
[SfcPropertyAttribute]
public string NetName { get; }
[SfcPropertyAttribute]
public:
virtual property String^ NetName {
    String^ get () sealed;
}
[<SfcPropertyAttribute>]
abstract NetName : string
[<SfcPropertyAttribute>]
override NetName : string
final function get NetName () : String

Property Value

Type: System.String
String

Implements

IServerInformation.NetName