Computer-Klasse
The Computer type represents a computer in the Utility domain, including certain physical properties that indicate the computer's performance and loading.
Vererbungshierarchie
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
Microsoft.SqlServer.Management.Utility..::..Computer
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR", _
True)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<PhysicalFacetAttribute> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
Public NotInheritable Class Computer _
Inherits SfcInstance
'Usage
Dim instance As Computer
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR",
true)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[PhysicalFacetAttribute]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
public sealed class Computer : SfcInstance
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Utility.FacetSR",
true)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[PhysicalFacetAttribute]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
public ref class Computer sealed : public SfcInstance
[<SealedAttribute>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR",
true)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<PhysicalFacetAttribute>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
type Computer =
class
inherit SfcInstance
end
public final class Computer extends SfcInstance
Der Computer-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
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. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
AbstractIdentityKey | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von 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. (Geerbt von 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. (Geerbt von SfcInstance.) | |
PropertyStorageProvider | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
State | Returns the state of the SfcInstance object. (Geerbt von SfcInstance.) | |
Urn | Returns the uniform resource name of the SfcInstance object. (Geerbt von SfcInstance.) | |
Volumes | Represents a collection of Volume objects. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
AlterImpl | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
CheckObjectCreated | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
CheckObjectState | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
CreateIdentityKey | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
CreateImpl | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
Discover | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
DropImpl | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetChildCollection | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
GetDomain | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
GetHashCode | (Geerbt von Object.) | |
GetObjectFactory | Gets the factory object used to create new instances. | |
GetPropertySet | Returns the set of properties for the SfcInstance object. (Geerbt von SfcInstance.) | |
GetType | (Geerbt von Object.) | |
GetTypeMetadataImpl | Indicates the domains that override by returning the right TypeMetadata class directly. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
InitializeUIPropertyState | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
MarkForDropImpl | Returns a value that indicates the existing objects to be dropped. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
MarkRootAsConnected | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
MemberwiseClone | (Geerbt von Object.) | |
MoveImpl | Indicates the new parent object to move in an instance. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
OnPropertyMetadataChanges | Invoked whenever the effective value of any SfcInstance metadata is updated. (Geerbt von SfcInstance.) | |
OnPropertyValueChanges | Invoked whenever the effective value of any SfcInstance property is updated. (Geerbt von SfcInstance.) | |
PostAlter | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
PostCreate | Indicates the default implementor that creates the execution result. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
PostDrop | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
PostMove | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
PostRename | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
Refresh | Refreshes the object's properties by reading them from the server. (Geerbt von SfcInstance.) | |
RenameImpl | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
ResetKey | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
Serialize | Serializes the instance to XML. (Geerbt von SfcInstance.) | |
ToString | Returns a string representation of the instance Urn. (Geerbt von SfcInstance.) | |
UpdateUIPropertyState | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
Validate | Indicates the basic child object's validation. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) |
Zum Anfang
Ereignisse
Name | Beschreibung | |
---|---|---|
propertyChanged | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
PropertyChanged | CLS-compliant event for property changes. (Geerbt von SfcInstance.) | |
propertyMetadataChanged | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) | |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. (Geerbt von SfcInstance.) |
Zum Anfang
Hinweise
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.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.