共用方式為


Server.ComputerNamePhysicalNetBIOS 屬性

Gets the NetBIOS name of the local computer on which the instance of SQL Server is currently running.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ComputerNamePhysicalNetBIOS As String 
    Get
'用途
Dim instance As Server 
Dim value As String 

value = instance.ComputerNamePhysicalNetBIOS
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string ComputerNamePhysicalNetBIOS { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
virtual property String^ ComputerNamePhysicalNetBIOS {
    String^ get () sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
abstract ComputerNamePhysicalNetBIOS : string
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
override ComputerNamePhysicalNetBIOS : string
final function get ComputerNamePhysicalNetBIOS () : String

屬性值

型別:System.String
The NetBIOS name of the local computer on which the instance of SQL Server is currently running.

實作

IServerInformation.ComputerNamePhysicalNetBIOS

請參閱

參考

Server 類別

Microsoft.SqlServer.Management.Smo 命名空間