Computer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Computer type represents a computer in the Utility domain, including certain physical properties that indicate the computer's performance and loading.
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
- Inheritance
- Attributes
Remarks
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.
Constructors
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. |
Properties
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) |
PropertyStorageProvider |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. (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. |
Methods
AlterImpl() |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
CheckObjectCreated() |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
CheckObjectState() |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
CreateIdentityKey() |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
CreateImpl() |
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) |
DropImpl() |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
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) |
GetObjectFactory() |
Gets the factory object used to create new instances. |
GetPropertySet() |
Returns the set of properties for the SfcInstance object. (Inherited from SfcInstance) |
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) |
MarkForDropImpl(Boolean) |
Returns a value that indicates the existing objects to be dropped. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
MarkRootAsConnected() |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
MoveImpl(SfcInstance) |
Indicates the new parent object to move in an instance. 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) |
PostAlter(Object) |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
PostCreate(Object) |
Indicates the default implementor that creates the execution result. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
PostDrop(Object) |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
PostMove(Object) |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
PostRename(Object) |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
Refresh() |
Refreshes the object's properties by reading them from the server. (Inherited from SfcInstance) |
RenameImpl(SfcKey) |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. (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) |
UpdateUIPropertyState() |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
Validate() |
Indicates the basic child object's validation. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
Events
propertyChanged |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance) |
PropertyChanged |
Occurs when a property value changes. (Inherited from SfcInstance) |
propertyMetadataChanged |
Do not reference this member directly in your code. It supports the SQL Server infrastructure. Occurs when a property metadata value changes. (Inherited from SfcInstance) |
PropertyMetadataChanged |
Occurs when the metadata for a property has changed. (Inherited from SfcInstance) |