Condividi tramite


Classe DeployedDacCollection

The DeployedDacCollection class represents a collection of DeployedDac objects that represent all the deployed DACs in the Utility domain.

Gerarchia di ereditarietà

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection<DeployedDac, DeployedDac.Key, Utility>
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollatedDictionaryCollection<DeployedDac, DeployedDac.Key, Utility>
      Microsoft.SqlServer.Management.Utility.DeployedDacCollection

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

Sintassi

'Dichiarazione
Public NotInheritable Class DeployedDacCollection _
    Inherits SfcCollatedDictionaryCollection(Of DeployedDac, DeployedDac.Key, Utility)
'Utilizzo
Dim instance As DeployedDacCollection
public sealed class DeployedDacCollection : SfcCollatedDictionaryCollection<DeployedDac, DeployedDac.Key, Utility>
public ref class DeployedDacCollection sealed : public SfcCollatedDictionaryCollection<DeployedDac^, DeployedDac.Key^, Utility^>
[<SealedAttribute>]
type DeployedDacCollection =  
    class 
        inherit SfcCollatedDictionaryCollection<DeployedDac, DeployedDac.Key, Utility>
    end
public final class DeployedDacCollection extends SfcCollatedDictionaryCollection<DeployedDac, DeployedDac.Key, Utility>

Nel tipo DeployedDacCollection sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico DeployedDacCollection(Utility) Initializes a new instance of the DeployedDacCollection class on the specified imported object.
Metodo pubblico DeployedDacCollection(Utility, IComparer<String>) Initializes a new instance of the DeployedDacCollection class on the specified imported object and with the specified comparer interface.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Ascending Gets or sets a value indicating whether to sort in ascending order. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollatedDictionaryCollection<T, K, ParentT>.
Proprietà pubblica Count Gets the number of elements contained in the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollatedDictionaryCollection<T, K, ParentT>.
Proprietà protetta Initialized Gets a value indicating whether the collection has been initialized. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Proprietà pubblica IsReadOnly Gets a value indicating whether the collection is read-only. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollatedDictionaryCollection<T, K, ParentT>.
Proprietà pubblica IsSynchronized Gets or sets a value indicating whether access to the collection is synchronized (thread safe). Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Proprietà pubblica Item[K] Gets the item specified by the key. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Proprietà pubblica Item[String, String] Returns the object with the specified name in the collection
Proprietà protetta Parent Gets or sets the type of the parent object. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Proprietà pubblica SyncRoot Gets or sets an object that can be used to synchronize access to the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Add Adds the specified object to the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Metodo pubblico Clear Removes all items from the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollatedDictionaryCollection<T, K, ParentT>.
Metodo pubblico Contains(T) Determines whether the collection contains the specified object. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollatedDictionaryCollection<T, K, ParentT>.
Metodo pubblico Contains(String, String) Determines whether the referenced collection contains the specified string.
Metodo pubblico CopyTo(array<T[], Int32) Copies the elements from the collection to the specified array, starting at the specified array index. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollatedDictionaryCollection<T, K, ParentT>.
Metodo pubblico CopyTo(Array, Int32) Copies the elements from the collection to the specified array, starting at the specified array index. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico GetEnumerator Returns an enumerator that can iterate through the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollatedDictionaryCollection<T, K, ParentT>.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico Refresh() Refreshes the collection by creating new and merging existing objects and properties in the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Metodo pubblico Refresh(Boolean) Refreshes the collection by creating new and merging existing objects and properties in the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Metodo pubblico Remove Removes the specified object from the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollatedDictionaryCollection<T, K, ParentT>.
Metodo protetto RemoveInternal Marks the specified object for removal. The state of the object is set to ToBeDropped. The object will be removed when the parent is altered or dropped. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Metodo protetto Rename Renames the specified object. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Metodo pubblico ToString Ereditato da Object.
Metodo pubblico TryGetValue Gets the value associated with the specified key. Ereditato da SfcCollatedDictionaryCollection<T, K, ParentT>.

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato IComparer<K>.Compare Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Compares two keys. Ereditato da SfcCollatedDictionaryCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaProprietà privata IListSource.ContainsListCollection Gets a value indicating whether the collection is a collection of IList objects. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaMetodo privato IEnumerable.GetEnumerator Gets an enumerator that can iterate the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaMetodo privato IListSource.GetList Returns an IList object that can be bound to a data source from an object that does not implement the IList interface. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaMetodo privato ISfcCollection.Add Adds the specified object to the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaMetodo privato ISfcCollection.AddShadow Adds the specified object to the shadow collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaProprietà privata ISfcCollection.Count Gets the number of items contained in the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaMetodo privato ISfcCollection.EnsureInitialized Initializes the collection from the server. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaMetodo privato ISfcCollection.FinishMerge Swaps the new collection for the old collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaMetodo privato ISfcCollection.GetCollectionElementNameImpl Gets the URN suffix for elements in the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaMetodo privato ISfcCollection.GetElementFactory Gets the factory that is used to instantiate objects for the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaMetodo privato ISfcCollection.GetExisting Uses the specified key to retrieve an existing item from the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaMetodo privato ISfcCollection.GetObjectByKey Uses the specified key to retrieve an object from the collection. If a matching object is not found, the object is created, and added to the collection Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaProprietà privata ISfcCollection.Initialized Gets or sets a value indicating whether the collection has been initialized. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaProprietà privata ISfcCollection.Parent Gets the parent object. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaMetodo privato ISfcCollection.PrepareMerge Prepares to merge fresh query results into the existing collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaMetodo privato ISfcCollection.Remove Removes the specified object from the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaMetodo privato ISfcCollection.RemoveElement Removes the specified element from the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.
Implementazione esplicita dell'interfacciaMetodo privato ISfcCollection.Rename Renames the specified object. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcCollection<T, K, ParentT>.

In alto

Osservazioni

A DeployedDacCollection object can be used to gain access to a set of computers. The DeployedDac object represents a deployed DAC in the Utility domain.

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.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Utility