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.
繼承階層
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
Microsoft.SqlServer.Management.Utility.DeployedDac
命名空間: Microsoft.SqlServer.Management.Utility
組件: Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)
語法
'宣告
<PhysicalFacetAttribute> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR", _
True)> _
Public Class DeployedDac _
Inherits SfcInstance
'用途
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
DeployedDac 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
DeployedDac | Initializes a new instance of the DeployedDac class. |
上層
屬性
名稱 | 說明 | |
---|---|---|
AbstractIdentityKey | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 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 time reported by the deployed DAC. | |
Metadata | Returns metadata about the instance and its domain. (繼承自 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. (繼承自 SfcInstance。) | |
PropertyStorageProvider | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 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. (繼承自 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. (繼承自 SfcInstance。) | |
VolumeSpaceHealthState | Gets the volume space health state. |
上層
方法
名稱 | 說明 | |
---|---|---|
AlterImpl | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
CheckObjectCreated | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
CheckObjectState | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
CreateIdentityKey | Creates an SfcKey object. (覆寫 SfcInstance.CreateIdentityKey()。) | |
CreateImpl | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
Discover | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
DropImpl | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
Equals | (繼承自 Object。) | |
Finalize | (繼承自 Object。) | |
GetChildCollection | Throws a UtilityException. There is no such collection. (覆寫 SfcInstance.GetChildCollection(String)。) | |
GetDomain | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
GetHashCode | (繼承自 Object。) | |
GetObjectFactory | Gets the factory object used to create new instances. | |
GetPropertySet | Returns the set of properties for the SfcInstance object. (繼承自 SfcInstance。) | |
GetType | (繼承自 Object。) | |
GetTypeMetadataImpl | Indicates the domains that override by returning the right TypeMetadata class directly. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
InitializeUIPropertyState | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
MarkForDropImpl | Returns a value that indicates the existing objects to be dropped. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
MarkRootAsConnected | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
MemberwiseClone | (繼承自 Object。) | |
MoveImpl | Indicates the new parent object to move in an instance. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
OnPropertyMetadataChanges | Invoked whenever the effective value of any SfcInstance metadata is updated. (繼承自 SfcInstance。) | |
OnPropertyValueChanges | Invoked whenever the effective value of any SfcInstance property is updated. (繼承自 SfcInstance。) | |
PostAlter | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
PostCreate | Indicates the default implementor that creates the execution result. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
PostDrop | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
PostMove | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
PostRename | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
Refresh | Refreshes the object's properties by reading them from the server. (繼承自 SfcInstance。) | |
RenameImpl | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
ResetKey | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
Serialize | Serializes the instance to XML. (繼承自 SfcInstance。) | |
ToString | Returns a string representation of the instance Urn. (繼承自 SfcInstance。) | |
UpdateUIPropertyState | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
Validate | Indicates the basic child object's validation. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) |
上層
事件
名稱 | 說明 | |
---|---|---|
propertyChanged | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
PropertyChanged | CLS-compliant event for property changes. (繼承自 SfcInstance。) | |
propertyMetadataChanged | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcInstance。) | |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. (繼承自 SfcInstance。) |
上層
備註
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.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。