Export (0) Print
Expand All

DeployedDac Class

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. 

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

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

[PhysicalFacetAttribute]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR", 
	true)]
public class DeployedDac : SfcInstance

The DeployedDac type exposes the following members.

  NameDescription
Public methodDeployedDacInitializes a new instance of the DeployedDac class.
Top

  NameDescription
Protected propertyAbstractIdentityKeyDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public propertyCollationGets the collation used by the DAC database.
Public propertyCompatibilityLevelGets the compatibility level for the DAC database
Public propertyComputerNameGets the name of the computer on which the DAC package was deployed.
Public propertyComputerProcessorHealthStateGets the computer processor health state.
Public propertyContainsOverUtilizedFileGroupsGets a value that indicates whether the deployed DAC contains an over utilized file groups.
Public propertyContainsOverUtilizedVolumesGets a value that indicates whether the deployed DAC contains an over utilized volumes.
Public propertyContainsUnderUtilizedFileGroupsGets a value that indicates whether the deployed DAC contains an under utilized file groups.
Public propertyContainsUnderUtilizedVolumesGets a value that indicates whether the deployed DAC contains an under utilized volumes.
Public propertyDacProcessorHealthStateGets the server instance processor health state.
Public propertyDatabaseNameGets the name of the database that was deployed from the DAC package.
Public propertyDatabaseStateGets the state of the database that was deployed from the DAC package.
Public propertyDeployedDateGets the time and date when the DAC package was deployed on the instance of SQL Server.
Public propertyDescriptionGets the textual description DeployedDac object.
Public propertyEncryptionEnabledGets a value that indicates whether the DAC database is encrypted.
Public propertyFileSpaceHealthStateGets the file space health state.
Public propertyIdGets the ID value that uniquely identifies the DeployedDac object.
Public propertyIsPolicyOverriddenGets a value that indicates whether any policy is overridden for this object.
Public propertyLastReportedTimeGets the last time reported by the deployed DAC.
Public propertyMetadataReturns metadata about the instance and its domain. (Inherited from SfcInstance.)
Public propertyNameGets the name of the deployed DAC.
Public propertyParentGets the SQL Server Utility object that is the parent of the DeployedDac object.
Public propertyProcessorUtilizationGets the processor utilization in percentage points.
Public propertyPropertiesReturns a collection instance properties. (Inherited from SfcInstance.)
Protected propertyPropertyStorageProviderDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public propertyRecoveryModelGets a value indicating which type of recovery model is used by the DAC database.
Public propertyServerInstanceNameGets the name of the instance of SQL Server on which the DAC package has been deployed in the form of ServerName\InstanceName.
Protected propertyStateReturns the state of the SfcInstance object. (Inherited from SfcInstance.)
Public propertyTrustworthyGets a value that indicates whether the instance of SQL Server trusts the DeployedDac and the contents within it.
Public propertyUrnReturns the uniform resource name of the SfcInstance object. (Inherited from SfcInstance.)
Public propertyVolumeSpaceHealthStateGets the volume space health state.
Top

  NameDescription
Protected methodAlterImplDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected methodCheckObjectCreatedDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected methodCheckObjectStateDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected methodCreateIdentityKeyCreates an SfcKey object. (Overrides SfcInstance.CreateIdentityKey().)
Protected methodCreateImplDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public methodDiscoverDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected methodDropImplDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodGetChildCollectionThrows a UtilityException. There is no such collection. (Overrides SfcInstance.GetChildCollection(String).)
Public methodGetDomainDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetObjectFactoryGets the factory object used to create new instances.
Public methodGetPropertySetReturns the set of properties for the SfcInstance object. (Inherited from SfcInstance.)
Public methodGetType (Inherited from Object.)
Protected methodGetTypeMetadataImplIndicates 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.)
Protected methodInitializeUIPropertyStateDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected methodMarkForDropImplReturns 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.)
Protected methodMarkRootAsConnectedDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodMoveImplIndicates 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.)
Protected methodOnPropertyMetadataChangesInvoked whenever the effective value of any SfcInstance metadata is updated. (Inherited from SfcInstance.)
Protected methodOnPropertyValueChangesInvoked whenever the effective value of any SfcInstance property is updated. (Inherited from SfcInstance.)
Protected methodPostAlterDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected methodPostCreateIndicates 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.)
Protected methodPostDropDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected methodPostMoveDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected methodPostRenameDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public methodRefreshRefreshes the object's properties by reading them from the server. (Inherited from SfcInstance.)
Protected methodRenameImplDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected methodResetKeyDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public methodSerializeSerializes the instance to XML. (Inherited from SfcInstance.)
Public methodToStringReturns a string representation of the instance Urn. (Inherited from SfcInstance.)
Protected methodUpdateUIPropertyStateDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected methodValidateIndicates the basic child object's validation. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Top

  NameDescription
Protected eventpropertyChangedDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public eventPropertyChangedCLS-compliant event for property changes. (Inherited from SfcInstance.)
Protected eventpropertyMetadataChangedDo not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public eventPropertyMetadataChangedCLS-compliant event for property metadata changes. (Inherited from SfcInstance.)
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft