Share via


ManagedInstance.NetName Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public Property NetName As String 
    Get 
    Protected Set
'Usage
Dim instance As ManagedInstance 
Dim value As String 

value = instance.NetName

instance.NetName = value
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public string NetName { get; protected set; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property String^ NetName {
    String^ get ();
    protected: void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member NetName : string with get, set
function get NetName () : String 
protected function set NetName (value : String)

Property Value

Type: System.String
A String value that specifies the NetBIOS name of the server instance network.

See Also

Reference

ManagedInstance Class

Microsoft.SqlServer.Management.Utility Namespace