DacInstanceCollection-Klasse
The DacInstanceCollection type stores one or more DAC instances contained in an instance of the Database Engine.
Vererbungshierarchie
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcCollection< (Of < ( <'DacInstance, DacInstance. . :: . .Key, DacDomain> ) > ) >
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcCollatedDictionaryCollection< (Of < ( <'DacInstance, DacInstance. . :: . .Key, DacDomain> ) > ) >
Microsoft.SqlServer.Management.Dac..::..DacInstanceCollection
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Declaration
Public NotInheritable Class DacInstanceCollection _
Inherits SfcCollatedDictionaryCollection(Of DacInstance, DacInstance..::..Key, DacDomain)
'Usage
Dim instance As DacInstanceCollection
public sealed class DacInstanceCollection : SfcCollatedDictionaryCollection<DacInstance, DacInstance..::..Key, DacDomain>
public ref class DacInstanceCollection sealed : public SfcCollatedDictionaryCollection<DacInstance^, DacInstance..::..Key^, DacDomain^>
[<SealedAttribute>]
type DacInstanceCollection =
class
inherit SfcCollatedDictionaryCollection<DacInstance, DacInstance..::..Key, DacDomain>
end
public final class DacInstanceCollection extends SfcCollatedDictionaryCollection<DacInstance, DacInstance..::..Key, DacDomain>
Der DacInstanceCollection-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
DacInstanceCollection(DacDomain) | Initializes a new instance of the DacPackageCollection class. | |
DacInstanceCollection(DacDomain, IComparer< (Of < <' (String> ) > > )) | Initializes a new instance of the DacPackageCollection class with the specified parent and IComparer interface. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
Ascending | Gets or sets a value indicating whether to sort in ascending order. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
Count | Gets the number of elements contained in the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
CultureInfo | Gets or sets the CultureInfo object that is used by the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
IgnoreCase | Gets or sets a value indicating whether the collection is case-sensitive. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
Initialized | Gets a value indicating whether the collection has been initialized. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
IsReadOnly | Gets a value indicating whether the collection is read-only. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
IsSynchronized | Gets or sets a value indicating whether access to the collection is synchronized (thread safe). Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
Item[ ( [ ( String] ) ] ) | Gets a DacInstance..::..Key object for the DAC instance that has the specified name. | |
Item[ ( [ ( K] ) ] ) | Gets the item specified by the key. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
Parent | Gets or sets the type of the parent object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
SyncRoot | Gets or sets an object that can be used to synchronize access to the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Add | Adds an item to the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
AddShadow | Adds the specified object to the shadow collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
Clear | Removes all items from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
Contains(String) | Indicates whether the collection contains the specified DAC instance. | |
Contains(T) | Determines whether the collection contains the specified object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
CopyTo(array<T> [] () [] [], Int32) | Copies the elements from the collection to the specified array, starting at the specified array index. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
CopyTo(Array, Int32) | Copies the elements from the collection to the specified array, starting at the specified array index. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
CreateAndInitializeChildObject | Creates a child object and adds it to the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
EnsureCollectionInitialized | Initialize the collection from the server. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
FinishMerge | Swaps the new collection for the old collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
GetCollectionElementNameImpl | Gets the Uniform Resource Name (URN) suffix for elements in the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
GetElementFactoryImpl | Returns the factory that is used to instantiate objects for the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
GetEnumerator | Returns an enumerator that can iterate through the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
GetExistingObjectByKey | Uses the specified key to retrieve an existing object from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
GetHashCode | (Geerbt von Object.) | |
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. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
GetType | (Geerbt von Object.) | |
ImplAddExisting | Adds an item to the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ImplRemoveExisting | Removes the specified object from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
InitInnerCollection | Creates an empty internal collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
MemberwiseClone | (Geerbt von Object.) | |
PrepareMerge | Prepares to merge fresh query results into the existing collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
Refresh() () () () | Refreshes the collection by creating new and merging existing objects and properties in the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
Refresh(Boolean) | Refreshes the collection by creating new and merging existing objects and properties in the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
Remove | Removes the specified object from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
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. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
Rename | Renames the specified object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ResetInnerCollection | Resets the CultureInfo, IgnoreCase, and Ascending properties on the inner collection to honor the new settings. Call this method after any of the properties have changed. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ToString | (Geerbt von Object.) |
Zum Anfang
Explizite Schnittstellenimplementierungen
Name | Beschreibung | |
---|---|---|
IComparer< (Of < <' (K> ) > > ). . :: . .Compare | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Compares two keys. (Geerbt von SfcCollatedDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
IListSource. . :: . .ContainsListCollection | Gets a value indicating whether the collection is a collection of IList objects. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
IEnumerable. . :: . .GetEnumerator | Gets an enumerator that can iterate the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
IListSource. . :: . .GetList | Returns an IList object that can be bound to a data source from an object that does not implement the IList interface. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ISfcCollection. . :: . .Add | Adds the specified object to the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ISfcCollection. . :: . .AddShadow | Adds the specified object to the shadow collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ISfcCollection. . :: . .Count | Gets the number of items contained in the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ISfcCollection. . :: . .EnsureInitialized | Initializes the collection from the server. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ISfcCollection. . :: . .FinishMerge | Swaps the new collection for the old collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ISfcCollection. . :: . .GetCollectionElementNameImpl | Gets the URN suffix for elements in the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ISfcCollection. . :: . .GetElementFactory | Gets the factory that is used to instantiate objects for the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ISfcCollection. . :: . .GetExisting | Uses the specified key to retrieve an existing item from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
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. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ISfcCollection. . :: . .Initialized | Gets or sets a value indicating whether the collection has been initialized. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ISfcCollection. . :: . .Parent | Gets the parent object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ISfcCollection. . :: . .PrepareMerge | Prepares to merge fresh query results into the existing collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ISfcCollection. . :: . .Remove | Removes the specified object from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ISfcCollection. . :: . .RemoveElement | Removes the specified element from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) | |
ISfcCollection. . :: . .Rename | Renames the specified object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcCollection< (Of < ( <'T, K, ParentT> ) > ) >.) |
Zum Anfang
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.