Computer 类

定义

Computer 类型表示实用工具域中的一台计算机,包括指示计算机的性能和加载的某些物理属性。

public ref class Computer sealed : Microsoft::SqlServer::Management::Sdk::Sfc::SfcInstance
[Microsoft.SqlServer.Management.Facets.EvaluationMode(Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.Utility.FacetSR", true)]
[Microsoft.SqlServer.Management.Sdk.Sfc.PhysicalFacet]
[System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))]
public sealed class Computer : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
[<Microsoft.SqlServer.Management.Facets.EvaluationMode(Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.Utility.FacetSR", true)>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.PhysicalFacet>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))>]
type Computer = class
    inherit SfcInstance
Public NotInheritable Class Computer
Inherits SfcInstance
继承
Computer
属性

注解

Computer 对象表示实用工具域中的计算机。 使用对象 Computer ,可以:

  • 确定计算机是否已群集化。

  • 确定计算机的名称。

  • 确定计算机中的处理器数。

  • 确定计算机中的卷数。

  • 确定处理器利用率。

  • 确定上述所有值的最近程度。

构造函数

Computer()

初始化 Computer 类的新实例。

Computer(Utility, String)

使用指定的父实用工具对象和指定名称初始化 Computer 类的新实例。

属性

AbstractIdentityKey

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
CpuMaxClockSpeed

获取最大 CPU 时钟速度。

CpuName

获取 CPU 名称。

ID

获取唯一标识计算机的 ID 值。

IdentityKey

获取唯一标识 Computer 对象的键值。

IsClustered

获取 Boolean 值,该值确定计算机是否在群集中。

Metadata

返回有关实例及其域的元数据。

(继承自 SfcInstance)
Name

获取计算机的名称。

Parent

获取是 Computer 对象的父对象的实用工具对象。

ProcessorUtilization

获取处理器利用率(百分比)。

Properties

返回集合实例属性。

(继承自 SfcInstance)
PropertyStorageProvider

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
State

返回 SfcInstance 对象的状态。

(继承自 SfcInstance)
Urn

返回 SfcInstance 对象的统一资源名称。

(继承自 SfcInstance)
Volumes

表示 Volume 对象集合。

方法

AlterImpl()

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
CheckObjectCreated()

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
CheckObjectState()

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
CreateIdentityKey()

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
CreateImpl()

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
Discover(ISfcDependencyDiscoveryObjectSink)

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
DropImpl()

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
GetChildCollection(String)

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
GetDomain()

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
GetObjectFactory()

获取用于创建新实例的工厂对象。

GetPropertySet()

返回 SfcInstance 对象的属性集。

(继承自 SfcInstance)
GetTypeMetadataImpl()

指示通过直接返回正确的 TypeMetadata 类覆盖的域。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
InitializeUIPropertyState()

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
MarkForDropImpl(Boolean)

返回指示要删除的现有对象的值。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
MarkRootAsConnected()

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
MoveImpl(SfcInstance)

指示要移入实例的新父对象。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs)

每次更新任何 SfcInstance 元数据的有效值时调用。

(继承自 SfcInstance)
OnPropertyValueChanges(PropertyChangedEventArgs)

每次更新任何 SfcInstance 属性的有效值时调用。

(继承自 SfcInstance)
PostAlter(Object)

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
PostCreate(Object)

指示创建执行结果的默认实现器。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
PostDrop(Object)

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
PostMove(Object)

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
PostRename(Object)

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
Refresh()

通过从服务器读取对象的属性来刷新它们。

(继承自 SfcInstance)
RenameImpl(SfcKey)

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
ResetKey()

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
Serialize(XmlWriter)

将实例序列化为 XML。

(继承自 SfcInstance)
ToString()

返回实例 Urn 的字符串表示形式。

(继承自 SfcInstance)
UpdateUIPropertyState()

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
Validate()

指示基本子对象的验证。 不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)

事件

propertyChanged

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

(继承自 SfcInstance)
PropertyChanged

在属性值更改时发生。

(继承自 SfcInstance)
propertyMetadataChanged

不要在您的代码中直接引用此成员。 它支持 SQL Server 基础结构。

当属性元数据值发生更改时发生。

(继承自 SfcInstance)
PropertyMetadataChanged

在属性的元数据更改时发生。

(继承自 SfcInstance)

适用于