Freigeben über


Information.NetName-Eigenschaft

Gets the NetBIOS name of the network on which the instance of SQL Server is running.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property NetName As String 
    Get
'Usage
Dim instance As Information 
Dim value As String 

value = instance.NetName
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public string NetName { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
property String^ NetName {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
member NetName : string
function get NetName () : String

Eigenschaftswert

Typ: System.String
A String value that specifies the NetBIOS name.

Beispiele

Konfigurieren von SQL Server in SMO

Siehe auch

Verweis

Information Klasse

Microsoft.SqlServer.Management.Smo-Namespace