共用方式為


DeployedDac Class

Definition

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.

public ref class DeployedDac : Microsoft::SqlServer::Management::Sdk::Sfc::SfcInstance
[Microsoft.SqlServer.Management.Facets.EvaluationMode(Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.Utility.FacetSR", true)]
[Microsoft.SqlServer.Management.Sdk.Sfc.PhysicalFacet]
[System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))]
public class DeployedDac : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
[<Microsoft.SqlServer.Management.Facets.EvaluationMode(Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.Utility.FacetSR", true)>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.PhysicalFacet>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))>]
type DeployedDac = class
    inherit SfcInstance
Public Class DeployedDac
Inherits SfcInstance
Inheritance
DeployedDac
Attributes

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.

Constructors

DeployedDac()

Initializes a new instance of the DeployedDac class.

Properties

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.

ContainsOverUtilizedFileGroups

Gets a value that indicates whether the deployed DAC contains an over utilized file groups.

ContainsOverUtilizedVolumes

Gets a value that indicates whether the deployed DAC contains an over utilized volumes.

ContainsUnderUtilizedFileGroups

Gets a value that indicates whether the deployed DAC contains an under utilized file groups.

ContainsUnderUtilizedVolumes

Gets a value that indicates whether the deployed DAC contains an under utilized volumes.

DacProcessorHealthState

Gets the server instance processor health state.

DatabaseName

Gets the name of the database that was deployed from the DAC package.

DatabaseState

Gets the state 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 reported time 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.

Methods

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 identity SfcKey object.

CreateImpl()

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcInstance)
Discover(ISfcDependencyDiscoveryObjectSink)

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)
GetChildCollection(String)

Throws a UtilityException.

GetDomain()

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcInstance)
GetObjectFactory()

Gets the factory object used to create new instances.

GetPropertySet()

Returns the set of properties for the SfcInstance object.

(Inherited from SfcInstance)
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(Boolean)

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)
MoveImpl(SfcInstance)

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(SfcPropertyMetadataChangedEventArgs)

Invoked whenever the effective value of any SfcInstance metadata is updated.

(Inherited from SfcInstance)
OnPropertyValueChanges(PropertyChangedEventArgs)

Invoked whenever the effective value of any SfcInstance property is updated.

(Inherited from SfcInstance)
PostAlter(Object)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcInstance)
PostCreate(Object)

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(Object)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcInstance)
PostMove(Object)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcInstance)
PostRename(Object)

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(SfcKey)

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(XmlWriter)

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)

Events

propertyChanged

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

(Inherited from SfcInstance)
PropertyChanged

Occurs when a property value changes.

(Inherited from SfcInstance)
propertyMetadataChanged

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Occurs when a property metadata value changes.

(Inherited from SfcInstance)
PropertyMetadataChanged

Occurs when the metadata for a property has changed.

(Inherited from SfcInstance)

Applies to