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.
Inheritance Hierarchy
System.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)
Syntax
'Declaration
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR", _
True)> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<PhysicalFacetAttribute> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
Public Class DeployedDac _
Inherits SfcInstance
'Usage
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
The DeployedDac type exposes the following members.
Properties
Name | Description | |
---|---|---|
AbstractIdentityKey | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
Collation | Gets the collation used by the DAC database. | |
CompatibilityLevel | Gets the compatibility level for the DAC database | |
ComputerName | Gets the name of the computer on which the DAC package was deployed. | |
ComputerProcessorHealthState | Gets the computer processor health state. | |
DacProcessorHealthState | Gets the server instance processor health state. | |
DatabaseName | Gets the name of the database that was deployed from the DAC package. | |
DeployedDate | Gets the time and date when the DAC package was deployed on the instance of SQL Server. | |
Description | Gets the textual description DeployedDac object. | |
EncryptionEnabled | Gets a value that indicates whether the DAC database is encrypted. | |
FileSpaceHealthState | Gets the file space health state. | |
Id | Gets the ID value that uniquely identifies the DeployedDac object. | |
IsPolicyOverridden | Gets a value that indicates whether any policy is overridden for this object. | |
LastReportedTime | Gets the last time reported by the deployed DAC. | |
Metadata | Returns metadata about the instance and its domain. (Inherited from SfcInstance.) | |
Name | Gets the name of the deployed DAC. | |
Parent | Gets the SQL Server Utility object that is the parent of the DeployedDac object. | |
ProcessorUtilization | Gets the processor utilization in percentage points. | |
Properties | Returns a collection instance properties. (Inherited from SfcInstance.) | |
PropertyStorageProvider | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
RecoveryModel | Gets a value indicating which type of recovery model is used by the DAC database. | |
ServerInstanceName | Gets the name of the instance of SQL Server on which the DAC package has been deployed in the form of ServerName\InstanceName. | |
State | Returns the state of the SfcInstance object. (Inherited from SfcInstance.) | |
Trustworthy | Gets a value that indicates whether the instance of SQL Server trusts the DeployedDac and the contents within it. | |
Urn | Returns the uniform resource name of the SfcInstance object. (Inherited from SfcInstance.) | |
VolumeSpaceHealthState | Gets the volume space health state. |
Top
Methods
Name | Description | |
---|---|---|
AlterImpl | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
CheckObjectCreated | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
CheckObjectState | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
CreateIdentityKey | Creates an SfcKey object. (Overrides SfcInstance.CreateIdentityKey().) | |
CreateImpl | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
Discover | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
DropImpl | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetChildCollection | Throws a UtilityException. There is no such collection. (Overrides SfcInstance.GetChildCollection(String).) | |
GetDomain | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectFactory | Gets the factory object used to create new instances. | |
GetPropertySet | Returns the set of properties for the SfcInstance object. (Inherited from SfcInstance.) | |
GetType | (Inherited from Object.) | |
GetTypeMetadataImpl | Indicates 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.) | |
InitializeUIPropertyState | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
MarkForDropImpl | Returns 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.) | |
MarkRootAsConnected | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
MemberwiseClone | (Inherited from Object.) | |
MoveImpl | Indicates 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.) | |
OnPropertyMetadataChanges | Invoked whenever the effective value of any SfcInstance metadata is updated. (Inherited from SfcInstance.) | |
OnPropertyValueChanges | Invoked whenever the effective value of any SfcInstance property is updated. (Inherited from SfcInstance.) | |
PostAlter | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
PostCreate | Indicates 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.) | |
PostDrop | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
PostMove | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
PostRename | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
Refresh | Refreshes the object's properties by reading them from the server. (Inherited from SfcInstance.) | |
RenameImpl | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
ResetKey | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
Serialize | Serializes the instance to XML. (Inherited from SfcInstance.) | |
ToString | Returns a string representation of the instance Urn. (Inherited from SfcInstance.) | |
UpdateUIPropertyState | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
Validate | Indicates 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
Events
Name | Description | |
---|---|---|
propertyChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
PropertyChanged | CLS-compliant event for property changes. (Inherited from SfcInstance.) | |
propertyMetadataChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. (Inherited from SfcInstance.) |
Top
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.