DacInstance Class
The DacInstance type stores metadata information, such as the instance name and date created, about a deployed instance of a data-tier application (DAC).
Inheritance Hierarchy
Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
Microsoft.SqlServer.Management.Dac.DacInstance
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'宣告
Public Class DacInstance _
Inherits SfcInstance
'用途
Dim instance As DacInstance
public class DacInstance : SfcInstance
public ref class DacInstance : public SfcInstance
type DacInstance =
class
inherit SfcInstance
end
public class DacInstance extends SfcInstance
The DacInstance type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DacInstance | Initializes a new instance of the DacInstance class. |
Top
Properties
Name | Description | |
---|---|---|
AbstractIdentityKey | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.) | |
CreatedBy | Gets the login used to deploy or register the DAC instance. | |
DacStore | Gets the DacStore object representing the DAC store that contains this DAC instance. | |
DateCreated | Gets the date and time that the DAC instance was deployed or registered. | |
Id | Gets the Guid value that uniquely identifies the DAC instance. | |
Metadata | Returns metadata about the instance and its domain. (Inherited from SfcInstance.) | |
Name | Gets the name of the DAC instance. | |
Parent | Gets or sets the DacStore object that is the parent of the DacInstance object. | |
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.) | |
State | Returns the state of the SfcInstance object. (Inherited from SfcInstance.) | |
Type | Gets the DacType object that represents the DAC type associated with this DAC instance. | |
TypeStream | Gets or sets the Byte stream that contains the DAC type definition. | |
Urn | Returns the uniform resource name of the SfcInstance object. (Inherited from SfcInstance.) |
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 | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (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 | Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. (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 object factory that is used to create the object. | |
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
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
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.