Share via


NetName propriété

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

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property NetName As String
    Get
'Utilisation
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

Valeur de la propriété

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