Ce sujet n'a pas encore été évalué - Évaluez ce sujet

Classe PolicyCategorySubscriptionCollection

The PolicyCategorySubscriptionCollection class represents a collection of PolicyCategorySubscription objects that represent all policy category subscriptions that are in the policy store.

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class PolicyCategorySubscriptionCollection : SfcDictionaryCollection<PolicyCategorySubscription, PolicyCategorySubscription..::.Key, PolicyStore>

Le type PolicyCategorySubscriptionCollection expose les membres suivants.

  NomDescription
Méthode publiquePolicyCategorySubscriptionCollectionInitializes a new instance of the PolicyCategorySubscriptionCollection class.
Haut de la page
  NomDescription
Propriété publiqueCountNe faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcDictionaryCollection<T, K, ParentT>.)
Propriété protégéeInitializedGets a value indicating whether the collection has been initialized. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Propriété publiqueIsReadOnlyNe faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcDictionaryCollection<T, K, ParentT>.)
Propriété publiqueIsSynchronizedGets or sets a value indicating whether access to the collection is synchronized (thread safe). Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Propriété publiqueItem[Int32]Gets a PolicyCategorySubscription object in the collection by ID value.
Propriété publiqueItem[K]Gets the item specified by the key. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Propriété protégéeParentGets or sets the type of the parent object. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Propriété publiqueSyncRootGets or sets an object that can be used to synchronize access to the collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Haut de la page
  NomDescription
Méthode publiqueAddAdds the specified object to the collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Méthode publiqueClearNe faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcDictionaryCollection<T, K, ParentT>.)
Méthode publiqueContains(Int32)Verifies whether the specified ID value exists in the collection.
Méthode publiqueContains(T)Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcDictionaryCollection<T, K, ParentT>.)
Méthode publiqueCopyTo(Array, Int32)Copies the elements from the collection to the specified array, starting at the specified array index. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Méthode publiqueCopyTo(T[], Int32)Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcDictionaryCollection<T, K, ParentT>.)
Méthode publiqueEquals (hérité de Object.)
Méthode publiqueGetEnumeratorNe faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets an enumeration of the collection. (hérité de SfcDictionaryCollection<T, K, ParentT>.)
Méthode publiqueGetHashCode (hérité de Object.)
Méthode publiqueGetType (hérité de Object.)
Méthode publiqueRefresh()Refreshes the collection by creating new and merging existing objects and properties in the collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Méthode publiqueRefresh(Boolean)Refreshes the collection by creating new and merging existing objects and properties in the collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Méthode publiqueRemoveNe faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcDictionaryCollection<T, K, ParentT>.)
Méthode protégéeRemoveInternalMarks 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. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Méthode protégéeRenameRenames the specified object. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Méthode publiqueToString (hérité de Object.)
Méthode publiqueTryGetValueGets the value associated with the specified key. (hérité de SfcDictionaryCollection<T, K, ParentT>.)
Haut de la page
  NomDescription
Implémentation d'interface explicitePropriété privéeIListSource.ContainsListCollectionGets a value indicating whether the collection is a collection of IList objects. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface expliciteMéthode privéeIEnumerable.GetEnumeratorGets an enumerator that can iterate the collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface expliciteMéthode privéeIListSource.GetListReturns an IList object that can be bound to a data source from an object that does not implement the IList interface. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface expliciteMéthode privéeISfcCollection.AddAdds the specified object to the collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface expliciteMéthode privéeISfcCollection.AddShadowAdds the specified object to the shadow collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface explicitePropriété privéeISfcCollection.CountGets the number of items contained in the collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface expliciteMéthode privéeISfcCollection.EnsureInitializedInitializes the collection from the server. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface expliciteMéthode privéeISfcCollection.FinishMergeSwaps the new collection for the old collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface expliciteMéthode privéeISfcCollection.GetCollectionElementNameImplGets the URN suffix for elements in the collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface expliciteMéthode privéeISfcCollection.GetElementFactoryGets the factory that is used to instantiate objects for the collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface expliciteMéthode privéeISfcCollection.GetExistingUses the specified key to retrieve an existing item from the collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface expliciteMéthode privéeISfcCollection.GetObjectByKeyUses 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 (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface explicitePropriété privéeISfcCollection.InitializedGets or sets a value indicating whether the collection has been initialized. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface explicitePropriété privéeISfcCollection.ParentGets the parent object. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface expliciteMéthode privéeISfcCollection.PrepareMergePrepares to merge fresh query results into the existing collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface expliciteMéthode privéeISfcCollection.RemoveRemoves the specified object from the collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface expliciteMéthode privéeISfcCollection.RemoveElementRemoves the specified element from the collection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Implémentation d'interface expliciteMéthode privéeISfcCollection.RenameRenames the specified object. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcCollection<T, K, ParentT>.)
Haut de la page

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Cela vous a-t-il été utile ?
(1500 caractères restants)

Ajouts de la communauté

AJOUTER
© 2013 Microsoft. Tous droits réservés.