Condividi tramite


Classe DacInstance

The DacInstance type stores metadata information, such as the instance name and date created, about a deployed instance of a data-tier application (DAC).

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
    Microsoft.SqlServer.Management.Dac..::..DacInstance

Spazio dei nomi  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Sintassi

'Dichiarazione
Public Class DacInstance _
    Inherits SfcInstance
'Utilizzo
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

Nel tipo DacInstance sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico DacInstance Initializes a new instance of the DacInstance class.

In alto

Proprietà

  Nome Descrizione
Proprietà protetta AbstractIdentityKey Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Proprietà pubblica CreatedBy Gets the login used to deploy or register the DAC instance.
Proprietà pubblica DacStore Gets the DacStore object representing the DAC store that contains this DAC instance.
Proprietà pubblica DateCreated Gets the date and time that the DAC instance was deployed or registered.
Proprietà pubblica Id Gets the Guid value that uniquely identifies the DAC instance.
Proprietà pubblica Metadata Returns metadata about the instance and its domain. Ereditato da SfcInstance.
Proprietà pubblica Name Gets the name of the DAC instance.
Proprietà pubblica Parent Gets or sets the DacStore object that is the parent of the DacInstance object.
Proprietà pubblica Properties Returns a collection instance properties. Ereditato da SfcInstance.
Proprietà protetta PropertyStorageProvider Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Proprietà protetta State Returns the state of the SfcInstance object. Ereditato da SfcInstance.
Proprietà pubblica Type Gets the DacType object that represents the DAC type associated with this DAC instance.
Proprietà pubblica TypeStream Gets or sets the Byte stream that contains the DAC type definition.
Proprietà pubblica Urn Returns the uniform resource name of the SfcInstance object. Ereditato da SfcInstance.

In alto

Metodi

  Nome Descrizione
Metodo protetto AlterImpl Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto CheckObjectCreated Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto CheckObjectState Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto CreateIdentityKey Identificato solo a scopo informativo. Non supportato. Non è garantita la compatibilità con le versioni future. Esegue l'override di SfcInstance. . :: . .CreateIdentityKey() () () ().
Metodo protetto CreateImpl Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo pubblico Discover Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto DropImpl Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo protetto GetChildCollection Identificato solo a scopo informativo. Non supportato. Non è garantita la compatibilità con le versioni future. Esegue l'override di SfcInstance. . :: . .GetChildCollection(String).
Metodo pubblico GetDomain Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblicoMembro statico GetObjectFactory Gets the object factory that is used to create the object.
Metodo pubblico GetPropertySet Returns the set of properties for the SfcInstance object. Ereditato da SfcInstance.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto GetTypeMetadataImpl Indicates the domains that override by returning the right TypeMetadata class directly. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto InitializeUIPropertyState Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto MarkForDropImpl Returns a value that indicates the existing objects to be dropped. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto MarkRootAsConnected Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo protetto MoveImpl Indicates the new parent object to move in an instance. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. Ereditato da SfcInstance.
Metodo protetto OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. Ereditato da SfcInstance.
Metodo protetto PostAlter Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto PostCreate Indicates the default implementor that creates the execution result. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto PostDrop Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto PostMove Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto PostRename Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo pubblico Refresh Refreshes the object's properties by reading them from the server. Ereditato da SfcInstance.
Metodo protetto RenameImpl Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto ResetKey Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo pubblico Serialize Serializes the instance to XML. Ereditato da SfcInstance.
Metodo pubblico ToString Returns a string representation of the instance Urn. Ereditato da SfcInstance.
Metodo protetto UpdateUIPropertyState Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Metodo protetto Validate Indicates the basic child object's validation. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.

In alto

Eventi

  Nome Descrizione
Evento protetto propertyChanged Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Evento pubblico PropertyChanged CLS-compliant event for property changes. Ereditato da SfcInstance.
Evento protetto propertyMetadataChanged Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance.
Evento pubblico PropertyMetadataChanged CLS-compliant event for property metadata changes. Ereditato da SfcInstance.

In alto

Osservazioni

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.