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. 

Hierarquia de herança

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

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (em Microsoft.SqlServer.Management.Utility.dll)

Sintaxe

'Declaração
<PhysicalFacetAttribute> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR",  _
    True)> _
Public Class DeployedDac _
    Inherits SfcInstance
'Uso
Dim instance As DeployedDac
[PhysicalFacetAttribute]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR", 
    true)]
public class DeployedDac : SfcInstance
[PhysicalFacetAttribute]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Utility.FacetSR", 
    true)]
public ref class DeployedDac : public SfcInstance
[<PhysicalFacetAttribute>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR", 
    true)>]
type DeployedDac =  
    class 
        inherit SfcInstance 
    end
public class DeployedDac extends SfcInstance

O tipo DeployedDac expõe os membros a seguir.

Construtores

  Nome Descrição
Método público DeployedDac Initializes a new instance of the DeployedDac class.

Início

Propriedades

  Nome Descrição
Propriedade protegida AbstractIdentityKey Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Propriedade pública Collation Gets the collation used by the DAC database.
Propriedade pública CompatibilityLevel Gets the compatibility level for the DAC database
Propriedade pública ComputerName Gets the name of the computer on which the DAC package was deployed.
Propriedade pública ComputerProcessorHealthState Gets the computer processor health state.
Propriedade pública ContainsOverUtilizedFileGroups Gets a value that indicates whether the deployed DAC contains an over utilized file groups.
Propriedade pública ContainsOverUtilizedVolumes Gets a value that indicates whether the deployed DAC contains an over utilized volumes.
Propriedade pública ContainsUnderUtilizedFileGroups Gets a value that indicates whether the deployed DAC contains an under utilized file groups.
Propriedade pública ContainsUnderUtilizedVolumes Gets a value that indicates whether the deployed DAC contains an under utilized volumes.
Propriedade pública DacProcessorHealthState Gets the server instance processor health state.
Propriedade pública DatabaseName Gets the name of the database that was deployed from the DAC package.
Propriedade pública DatabaseState Gets the state of the database that was deployed from the DAC package.
Propriedade pública DeployedDate Gets the time and date when the DAC package was deployed on the instance of SQL Server.
Propriedade pública Description Gets the textual description DeployedDac object.
Propriedade pública EncryptionEnabled Gets a value that indicates whether the DAC database is encrypted.
Propriedade pública FileSpaceHealthState Gets the file space health state.
Propriedade pública Id Gets the ID value that uniquely identifies the DeployedDac object.
Propriedade pública IsPolicyOverridden Gets a value that indicates whether any policy is overridden for this object.
Propriedade pública LastReportedTime Gets the last time reported by the deployed DAC.
Propriedade pública Metadata Returns metadata about the instance and its domain. (Herdado de SfcInstance.)
Propriedade pública Name Gets the name of the deployed DAC.
Propriedade pública Parent Gets the SQL Server Utility object that is the parent of the DeployedDac object.
Propriedade pública ProcessorUtilization Gets the processor utilization in percentage points.
Propriedade pública Properties Returns a collection instance properties. (Herdado de SfcInstance.)
Propriedade protegida PropertyStorageProvider Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Propriedade pública RecoveryModel Gets a value indicating which type of recovery model is used by the DAC database.
Propriedade pública ServerInstanceName Gets the name of the instance of SQL Server on which the DAC package has been deployed in the form of ServerName\InstanceName.
Propriedade protegida State Returns the state of the SfcInstance object. (Herdado de SfcInstance.)
Propriedade pública Trustworthy Gets a value that indicates whether the instance of SQL Server trusts the DeployedDac and the contents within it.
Propriedade pública Urn Returns the uniform resource name of the SfcInstance object. (Herdado de SfcInstance.)
Propriedade pública VolumeSpaceHealthState Gets the volume space health state.

Início

Métodos

  Nome Descrição
Método protegido AlterImpl Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido CheckObjectCreated Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido CheckObjectState Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido CreateIdentityKey Creates an SfcKey object. (Substitui SfcInstance.CreateIdentityKey().)
Método protegido CreateImpl Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método público Discover Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido DropImpl Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método protegido GetChildCollection Throws a UtilityException. There is no such collection. (Substitui SfcInstance.GetChildCollection(String).)
Método público GetDomain Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método público GetHashCode (Herdado de Object.)
Método públicoMembro estático GetObjectFactory Gets the factory object used to create new instances.
Método público GetPropertySet Returns the set of properties for the SfcInstance object. (Herdado de SfcInstance.)
Método público GetType (Herdado de Object.)
Método protegido GetTypeMetadataImpl Indicates the domains that override by returning the right TypeMetadata class directly. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido InitializeUIPropertyState Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido MarkForDropImpl Returns a value that indicates the existing objects to be dropped. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido MarkRootAsConnected Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido MemberwiseClone (Herdado de Object.)
Método protegido MoveImpl Indicates the new parent object to move in an instance. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. (Herdado de SfcInstance.)
Método protegido OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. (Herdado de SfcInstance.)
Método protegido PostAlter Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido PostCreate Indicates the default implementor that creates the execution result. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido PostDrop Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido PostMove Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido PostRename Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método público Refresh Refreshes the object's properties by reading them from the server. (Herdado de SfcInstance.)
Método protegido RenameImpl Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido ResetKey Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método público Serialize Serializes the instance to XML. (Herdado de SfcInstance.)
Método público ToString Returns a string representation of the instance Urn. (Herdado de SfcInstance.)
Método protegido UpdateUIPropertyState Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Método protegido Validate Indicates the basic child object's validation. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)

Início

Eventos

  Nome Descrição
Evento protegido propertyChanged Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Evento público PropertyChanged CLS-compliant event for property changes. (Herdado de SfcInstance.)
Evento protegido propertyMetadataChanged Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. (Herdado de SfcInstance.)
Evento público PropertyMetadataChanged CLS-compliant event for property metadata changes. (Herdado de SfcInstance.)

Início

Comentários

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.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Management.Utility