Freigeben über


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.Expensive)> _
Public ReadOnly Property NetName As String
    Get
'Usage
Dim instance As Information
Dim value As String

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

Eigenschaftenwert

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