Delen via


Computer.CpuName Property

Gets the CPU name.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property CpuName As String 
    Get
'Usage
Dim instance As Computer 
Dim value As String 

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

Property Value

Type: System.String
A string value that contains the CPU name.

See Also

Reference

Computer Class

Microsoft.SqlServer.Management.Utility Namespace