Computer Class
The Computer type represents a computer in the Utility domain, including certain physical properties that indicate the computer's performance and loading.
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Microsoft.SqlServer.Management.Sdk.Sfc::SfcInstance
Microsoft.SqlServer.Management.Utility::Computer
[TypeConverterAttribute((LocalizableTypeConverter^::typeid))] [EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)] [PhysicalFacetAttribute] [LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR", true)] public ref class Computer sealed : SfcInstance
| Name | Description | |
|---|---|---|
![]() | Computer() | Initializes a new instance of the Computer class. |
![]() | Computer(Utility^, String^) | Initializes a new instance of the Computer class with the specified parent Utility object and the specified name. |
| Name | Description | |
|---|---|---|
![]() | AbstractIdentityKey | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | CpuMaxClockSpeed | Gets the maximum CPU clock speed. |
![]() | CpuName | Gets the CPU name. |
![]() | ID | Gets the ID value that uniquely identifies the computer. |
![]() | IdentityKey | Gets the key value that uniquely identifies the Computer object. |
![]() | IsClustered | Gets the Boolean value that determines whether the computer is in a cluster. |
![]() | Metadata | Returns metadata about the instance and its domain.(Inherited from SfcInstance.) |
![]() | Name | Gets the name of the computer. |
![]() | Parent | Gets the Utility object that is the parent of the Computer object. |
![]() | ProcessorUtilization | Gets the processor utilization in percentage points. |
![]() | Properties | Returns a collection instance properties.(Inherited from SfcInstance.) |
![]() | State | Returns the state of the SfcInstance object.(Inherited from SfcInstance.) |
![]() | Urn | Returns the uniform resource name of the SfcInstance object.(Inherited from SfcInstance.) |
![]() | Volumes | Represents a collection of Volume objects. |
| Name | Description | |
|---|---|---|
![]() | CreateIdentityKey() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | Discover(ISfcDependencyDiscoveryObjectSink^) | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetChildCollection(String^) | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | GetDomain() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() ![]() | GetObjectFactory() | Gets the factory object used to create new instances. |
![]() | GetPropertySet() | Returns the set of properties for the SfcInstance object.(Inherited from SfcInstance.) |
![]() | GetType() | (Inherited from Object.) |
![]() | GetTypeMetadataImpl() | Indicates the domains that override by returning the right TypeMetadata class directly. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | InitializeUIPropertyState() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs^) | Invoked whenever the effective value of any SfcInstance metadata is updated. (Inherited from SfcInstance.) |
![]() | OnPropertyValueChanges(PropertyChangedEventArgs^) | Invoked whenever the effective value of any SfcInstance property is updated. (Inherited from SfcInstance.) |
![]() | Refresh() | Refreshes the object's properties by reading them from the server.(Inherited from SfcInstance.) |
![]() | ResetKey() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | Serialize(XmlWriter^) | Serializes the instance to XML.(Inherited from SfcInstance.) |
![]() | ToString() | Returns a string representation of the instance Urn.(Inherited from SfcInstance.) |
| Name | Description | |
|---|---|---|
![]() | PropertyChanged | Occurs when a property value changes.(Inherited from SfcInstance.) |
![]() | PropertyMetadataChanged | Occurs when the metadata for a property has changed.(Inherited from SfcInstance.) |
The Computer object represents a computer in the Utility domain. Using the Computer object, you can:
Determine whether the computer is clustered.
Determine the name of the computer.
Determine the number of processors in the computer.
Determine the number of volumes in the computer.
Determine the processor utilization.
Determine how recent all the above values are.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





