Condividi tramite


Classe DeployedDac

The DeployedDac type represents a database application structure, in the form of a DAC package that has been installed on to a computer running an instance of SQL Server. 

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
    Microsoft.SqlServer.Management.Utility..::..DeployedDac

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)> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<PhysicalFacetAttribute> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
Public Class DeployedDac _
    Inherits SfcInstance
'Utilizzo
Dim instance As DeployedDac
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR", 
    true)]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[PhysicalFacetAttribute]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public class DeployedDac : SfcInstance
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Utility.FacetSR", 
    true)]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[PhysicalFacetAttribute]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public ref class DeployedDac : public SfcInstance
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR", 
    true)>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<PhysicalFacetAttribute>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
type DeployedDac =  
    class
        inherit SfcInstance
    end
public class DeployedDac extends SfcInstance

Nel tipo DeployedDac sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico DeployedDac Initializes a new instance of the DeployedDac class.

In alto

Proprietà

  Nome Descrizione
Proprietà protetta AbstractIdentityKey Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Proprietà pubblica Collation Gets the collation used by the DAC database.
Proprietà pubblica CompatibilityLevel Gets the compatibility level for the DAC database
Proprietà pubblica ComputerName Gets the name of the computer on which the DAC package was deployed.
Proprietà pubblica ComputerProcessorHealthState Gets the computer processor health state.
Proprietà pubblica DacProcessorHealthState Gets the server instance processor health state.
Proprietà pubblica DatabaseName Gets the name of the database that was deployed from the DAC package.
Proprietà pubblica DeployedDate Gets the time and date when the DAC package was deployed on the instance of SQL Server.
Proprietà pubblica Description Gets the textual description DeployedDac object.
Proprietà pubblica EncryptionEnabled Gets a value that indicates whether the DAC database is encrypted.
Proprietà pubblica FileSpaceHealthState Gets the file space health state.
Proprietà pubblica Id Gets the ID value that uniquely identifies the DeployedDac object.
Proprietà pubblica IsPolicyOverridden Gets a value that indicates whether any policy is overridden for this object.
Proprietà pubblica LastReportedTime Gets the last time reported by the deployed DAC.
Proprietà pubblica Metadata Returns metadata about the instance and its domain. Ereditato da SfcInstance.
Proprietà pubblica Name Gets the name of the deployed DAC.
Proprietà pubblica Parent Gets the SQL Server Utility object that is the parent of the DeployedDac object.
Proprietà pubblica ProcessorUtilization Gets the processor utilization in percentage points.
Proprietà pubblica Properties Returns a collection instance properties. Ereditato da SfcInstance.
Proprietà protetta PropertyStorageProvider Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Proprietà pubblica RecoveryModel Gets a value indicating which type of recovery model is used by the DAC database.
Proprietà pubblica ServerInstanceName Gets the name of the instance of SQL Server on which the DAC package has been deployed in the form of ServerName\InstanceName.
Proprietà protetta State Returns the state of the SfcInstance object. Ereditato da SfcInstance.
Proprietà pubblica Trustworthy Gets a value that indicates whether the instance of SQL Server trusts the DeployedDac and the contents within it.
Proprietà pubblica Urn Returns the uniform resource name of the SfcInstance object. Ereditato da SfcInstance.
Proprietà pubblica VolumeSpaceHealthState Gets the volume space health state.

In alto

Metodi

  Nome Descrizione
Metodo protetto AlterImpl Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto CheckObjectCreated Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto CheckObjectState Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto CreateIdentityKey Creates an SfcKey object. Esegue l'override di SfcInstance. . :: . .CreateIdentityKey() () () ().
Metodo protetto CreateImpl Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo pubblico Discover Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto DropImpl Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo protetto GetChildCollection Throws a UtilityException. There is no such collection. Esegue l'override di SfcInstance. . :: . .GetChildCollection(String).
Metodo pubblico GetDomain Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblicoMembro statico GetObjectFactory Gets the factory object used to create new instances.
Metodo pubblico GetPropertySet Returns the set of properties for the SfcInstance object. Ereditato da SfcInstance.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto 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.
Metodo protetto InitializeUIPropertyState Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto 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.
Metodo protetto MarkRootAsConnected Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo protetto 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.
Metodo protetto OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. Ereditato da SfcInstance.
Metodo protetto OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. Ereditato da SfcInstance.
Metodo protetto PostAlter Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto 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.
Metodo protetto PostDrop Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto PostMove Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto PostRename Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo pubblico Refresh Refreshes the object's properties by reading them from the server. Ereditato da SfcInstance.
Metodo protetto RenameImpl Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto ResetKey Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo pubblico Serialize Serializes the instance to XML. Ereditato da SfcInstance.
Metodo pubblico ToString Returns a string representation of the instance Urn. Ereditato da SfcInstance.
Metodo protetto UpdateUIPropertyState Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto 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
Evento protetto propertyChanged Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Evento pubblico PropertyChanged CLS-compliant event for property changes. Ereditato da SfcInstance.
Evento protetto propertyMetadataChanged Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Evento pubblico PropertyMetadataChanged CLS-compliant event for property metadata changes. Ereditato da SfcInstance.

In alto

Osservazioni

The DeployedDac object represents an instance of SQL Server that has had a DAC package installed on to it using the SQL Server Utility services. Using the DeployedDac object, you can:

  • Determine the name of the database.

  • Determine the name of the computer.

  • Determine the name of the instance of SQL Server.

  • Determine the time of deployment.

  • Determine processor usage on the computer.

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.