Bagikan melalui


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(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property NetName As String 
    Get
'Usage
Dim instance As Server 
Dim value As String 

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

Property Value

Type: System.String
The NetName property value.

Implements

IServerInformation.NetName

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace