Classe PartitionSchemeCollection

The PartitionSchemeCollection class represents a collection of PartitionScheme objects that represent all the partition schemes defined on the instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

public sealed class PartitionSchemeCollection : SimpleObjectCollectionBase

O tipo PartitionSchemeCollection expõe os membros a seguir.

  NomeDescrição
Propriedade públicaCountGets the number of objects in the referenced collection. (Herdado de SmoCollectionBase.)
Propriedade públicaIsSynchronizedGets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (Herdado de SmoCollectionBase.)
Propriedade públicaItem[([(Int32])])Gets a PartitionScheme object in the collection by index number.
Propriedade públicaItem[([(String])])Gets a PartitionScheme object in the collection by name.
Propriedade públicaParentGets the Database object that is the parent of the PartitionSchemeCollection object.
Propriedade públicaSyncRootGets an object that can be used to synchronize access to the collection. (Herdado de SmoCollectionBase.)
Início

  NomeDescrição
Método públicoAddAdds a member to the PartitionSchemeCollection collection.
Método protegidoAddExistingAdds an object to the collection. (Herdado de AbstractCollectionBase.)
Método protegidoAddImplAdds the specified object to this collection (Herdado de SortedListCollectionBase.)
Método públicoContainsVerifies whether the specified object exists in the collection. (Herdado de SimpleObjectCollectionBase.)
Método públicoCopyToCopies the collection objects to a one-dimensional array beginning at the index value specified.
Método públicoEquals (Herdado de Object.)
Método protegidoFinalize (Herdado de Object.)
Método protegidoGetCollectionElementTypeGets the Collection Element Type. (Herdado de SmoCollectionBase.)
Método públicoGetEnumeratorReturns an IEnumerator interface that allows you to iterate through the objects in the collection. (Herdado de SmoCollectionBase.)
Método públicoGetHashCode (Herdado de Object.)
Método protegidoGetItemById(Int32)Extracts a member from the referenced collection using a system-defined, unique identifier. (Herdado de SmoCollectionBase.)
Método protegidoGetItemById(Int32, String)Extracts a member from the referenced collection using a system-defined, unique identifier and name. (Herdado de SmoCollectionBase.)
Método protegidoGetObjectByIndexExtracts a member from the referenced collection using a system-defined, unique identifier. (Herdado de SmoCollectionBase.)
Método públicoGetType (Herdado de Object.)
Método protegidoImplAddExistingAdds an existing specified object to this collection (Herdado de SortedListCollectionBase.)
Método protegidoInitializeChildCollection()()()()Initializes the child collections of the referenced collection. (Herdado de SmoCollectionBase.)
Método protegidoInitializeChildCollection(Boolean)Initializes the child collections of the referenced collection with the option to refresh the properties of the referenced collection. (Herdado de SmoCollectionBase.)
Método protegidoInitInnerCollectionInitializes the collection. (Herdado de SimpleObjectCollectionBase.)
Método públicoItemByIdExtracts a member from the PartitionSchemeCollection collection using a system-defined, unique identifier.
Método protegidoMemberwiseClone (Herdado de Object.)
Método públicoRefresh()()()()Refreshes the referenced collection. (Herdado de SmoCollectionBase.)
Método públicoRefresh(Boolean)Refreshes the referenced collection with the option to refresh child objects of the referenced collection. (Herdado de SmoCollectionBase.)
Método públicoToString (Herdado de Object.)
Método protegidoValidateParentObjectValidates the parent object exists. (Herdado de SmoCollectionBase.)
Início

  NomeDescrição
Campo protegidoinitializedThis value supports the SMO infrastructure and is not intended to be used directly from your code. (Herdado de AbstractCollectionBase.)
Início

  NomeDescrição
Implementações de interfaces explícitasMétodo privadoICollection..::..CopyToCopies the elements from an instance to an array beginning at the index indicated. (Herdado de SmoCollectionBase.)
Início

A PartitionSchemeCollection object can be used to gain access to a set of partition schemes. You can use the Item property to return a specific PartitionScheme object.

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Contribuições da comunidade

ADICIONAR
Mostrar: