Udostępnij przez


ApplicationRoleCollection Members

The ApplicationRoleCollectionclass represents a collection of ApplicationRole objects that represent all the application roles on the referenced database.

The following tables list the members exposed by the ApplicationRoleCollection type.

Protected Fields

  Name Description
ms219210.protfield(pl-pl,SQL.100).gif initialized  This value supports the SMO infrastructure and is not intended to be used directly from your code. (inherited from AbstractCollectionBase)

Top

Public Properties

  Name Description
ms219210.pubproperty(pl-pl,SQL.100).gif Count  Gets the number of objects in the referenced collection. (inherited from SmoCollectionBase)
ms219210.pubproperty(pl-pl,SQL.100).gif IsSynchronized  Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (inherited from SmoCollectionBase)
ms219210.pubproperty(pl-pl,SQL.100).gif Item Overloaded. Gets an ApplicationRole object in the collection by name or by index number.
ms219210.pubproperty(pl-pl,SQL.100).gif Parent Gets the Database object that is the parent of the ApplicationRoleCollection object.
ms219210.pubproperty(pl-pl,SQL.100).gif SyncRoot  Gets an object that can be used to synchronize access to the collection. (inherited from SmoCollectionBase)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms219210.pubmethod(pl-pl,SQL.100).gif Add Add the specified application role to the collection.
ms219210.pubmethod(pl-pl,SQL.100).gif Contains  (inherited from SimpleObjectCollectionBase )
ms219210.pubmethod(pl-pl,SQL.100).gif CopyTo  
ms219210.pubmethod(pl-pl,SQL.100).gif Equals  Overloaded. (inherited from Object )
ms219210.pubmethod(pl-pl,SQL.100).gif GetEnumerator  Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (inherited from SmoCollectionBase)
ms219210.pubmethod(pl-pl,SQL.100).gif GetHashCode  (inherited from Object )
ms219210.pubmethod(pl-pl,SQL.100).gif GetType  (inherited from Object )
ms219210.pubmethod(pl-pl,SQL.100).gif ItemById Extracts a member from the ApplicationRoleCollection collection using a system-defined, unique identifier.
ms219210.pubmethod(pl-pl,SQL.100).gifms219210.static(pl-pl,SQL.100).gif ReferenceEquals  (inherited from Object )
ms219210.pubmethod(pl-pl,SQL.100).gif Refresh  Overloaded. Refreshes the referenced collection. (inherited from SmoCollectionBase)
ms219210.pubmethod(pl-pl,SQL.100).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms219210.protmethod(pl-pl,SQL.100).gif AddExisting  (inherited from AbstractCollectionBase )
ms219210.protmethod(pl-pl,SQL.100).gif AddImpl  (inherited from SortedListCollectionBase )
ms219210.protmethod(pl-pl,SQL.100).gif Finalize  (inherited from Object )
ms219210.protmethod(pl-pl,SQL.100).gif GetCollectionElementType  Gets the Collection Element Type. (inherited from SmoCollectionBase)
ms219210.protmethod(pl-pl,SQL.100).gif GetItemById  Overloaded. (inherited from SmoCollectionBase )
ms219210.protmethod(pl-pl,SQL.100).gif GetObjectByIndex  (inherited from SmoCollectionBase )
ms219210.protmethod(pl-pl,SQL.100).gif ImplAddExisting  (inherited from SortedListCollectionBase )
ms219210.protmethod(pl-pl,SQL.100).gif InitializeChildCollection  Overloaded. Initializes the child collections of the referenced collection. (inherited from SmoCollectionBase)
ms219210.protmethod(pl-pl,SQL.100).gif InitInnerCollection  Initializes the collection. (inherited from SimpleObjectCollectionBase)
ms219210.protmethod(pl-pl,SQL.100).gif MemberwiseClone  (inherited from Object )
ms219210.protmethod(pl-pl,SQL.100).gif ValidateParentObject  (inherited from SmoCollectionBase )

Top

Explicit Interface Implementations

  Name Description
System.Collections.ICollection.CopyTo  (inherited from SmoCollectionBase )

Top