Classe Computer
The Computer type represents a computer in the Utility domain, including certain physical properties that indicate the computer's performance and loading.
Gerarchia di ereditarietà
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
Microsoft.SqlServer.Management.Utility..::..Computer
Spazio dei nomi Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Sintassi
'Dichiarazione
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR", _
True)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<PhysicalFacetAttribute> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
Public NotInheritable Class Computer _
Inherits SfcInstance
'Utilizzo
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
Nel tipo Computer sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
![]() |
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. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
AbstractIdentityKey | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da 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. Ereditato da 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. Ereditato da SfcInstance. |
![]() |
PropertyStorageProvider | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
State | Returns the state of the SfcInstance object. Ereditato da SfcInstance. |
![]() |
Urn | Returns the uniform resource name of the SfcInstance object. Ereditato da SfcInstance. |
![]() |
Volumes | Represents a collection of Volume objects. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
AlterImpl | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
CheckObjectCreated | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
CheckObjectState | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
CreateIdentityKey | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
CreateImpl | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
Discover | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
DropImpl | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
Equals | Ereditato da Object. |
![]() |
Finalize | Ereditato da Object. |
![]() |
GetChildCollection | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
GetDomain | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
GetHashCode | Ereditato da Object. |
![]() ![]() |
GetObjectFactory | Gets the factory object used to create new instances. |
![]() |
GetPropertySet | Returns the set of properties for the SfcInstance object. Ereditato da SfcInstance. |
![]() |
GetType | Ereditato da Object. |
![]() |
GetTypeMetadataImpl | Indicates the domains that override by returning the right TypeMetadata class directly. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
InitializeUIPropertyState | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
MarkForDropImpl | Returns a value that indicates the existing objects to be dropped. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
MarkRootAsConnected | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
MemberwiseClone | Ereditato da Object. |
![]() |
MoveImpl | Indicates the new parent object to move in an instance. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
OnPropertyMetadataChanges | Invoked whenever the effective value of any SfcInstance metadata is updated. Ereditato da SfcInstance. |
![]() |
OnPropertyValueChanges | Invoked whenever the effective value of any SfcInstance property is updated. Ereditato da SfcInstance. |
![]() |
PostAlter | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
PostCreate | Indicates the default implementor that creates the execution result. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
PostDrop | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
PostMove | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
PostRename | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
Refresh | Refreshes the object's properties by reading them from the server. Ereditato da SfcInstance. |
![]() |
RenameImpl | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
ResetKey | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
Serialize | Serializes the instance to XML. Ereditato da SfcInstance. |
![]() |
ToString | Returns a string representation of the instance Urn. Ereditato da SfcInstance. |
![]() |
UpdateUIPropertyState | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
Validate | Indicates the basic child object's validation. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
In alto
Eventi
Nome | Descrizione | |
---|---|---|
![]() |
propertyChanged | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
PropertyChanged | CLS-compliant event for property changes. Ereditato da SfcInstance. |
![]() |
propertyMetadataChanged | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. Ereditato da SfcInstance. |
In alto
Osservazioni
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.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.