共用方式為


NetName 屬性

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

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public Property NetName As String
    Get
    Protected Set
'用途
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)

屬性值

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