Export (0) Print
Expand All

DataSourcePermissionCollection Class

Contains a collection of DataSourcePermission objects. This class cannot be inherited.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

[GuidAttribute("D8B434FD-107D-4326-AD28-6538C6A2313D")]
public sealed class DataSourcePermissionCollection : MajorObjectCollection

The DataSourcePermissionCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of ModelComponent objects in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected propertyDemandLoadingServiceInfrastructure. (Inherited from ModelComponentCollection.)
Public propertyIsFixedSizeGets a value indicating whether the ModelComponentCollection has a fixed size. (Inherited from ModelComponentCollection.)
Public propertyIsReadOnlyGets a value indicating whether the ModelComponentCollection is read-only. (Inherited from ModelComponentCollection.)
Public propertyIsSynchronizedGets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (Inherited from ModelComponentCollection.)
Public propertyItem[Int32]Gets the DataSourcePermission at the specified index from the collection.
Public propertyItem[String]Gets the DataSourcePermission with the specified identifier from the collection.
Protected propertyItemsTypeGets the Type of objects that can be contained by the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public propertyParentGets the IModelComponent that contains the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected propertyPreloadableInfrastructure. (Inherited from ModelComponentCollection.)
Public propertySyncRootGets an object that can be used to synchronize access to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Top

  NameDescription
Public methodAdd(String)Creates and adds a DataSourcePermission, with the specified role identifier, to the end of the collection.
Public methodAdd(DataSourcePermission)Adds a DataSourcePermission to the end of the collection.
Protected methodAdd(ModelComponent)Adds a ModelComponent to the end of the MajorObjectCollection. (Inherited from MajorObjectCollection.)
Public methodAdd(String, String)Creates and adds a DataSourcePermission, with the specified name and role identifier, to the end of the collection.
Protected methodAdd(String, IModelComponent) (Inherited from ModelComponentCollection.)
Protected methodAdd(ModelComponent, Boolean)Infrastructure. (Inherited from ModelComponentCollection.)
Public methodAdd(String, String, String)Creates and adds a DataSourcePermission, with the specified role identifier, name, and identifier, to the end of the collection.
Protected methodAdd(String, IModelComponent, Boolean) (Inherited from ModelComponentCollection.)
Protected methodAddNew(String, Type)Infrastructure. (Inherited from ModelComponentCollection.)
Protected methodAddNew(String, String, Type)Infrastructure. (Inherited from ModelComponentCollection.)
Public methodCanAddInfrastructure. (Inherited from NamedComponentCollection.)
Protected methodChangeKeyInfrastructure. (Inherited from ModelComponentCollection.)
Public methodClearRemoves all elements from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodContains(String)Indicates whether the collection contains a DataSourcePermission with the specified identifier.
Public methodContains(DataSourcePermission)Indicates whether the collection contains a specified DataSourcePermission.
Protected methodContains(IModelComponent) (Inherited from ModelComponentCollection.)
Public methodContainsName (Inherited from NamedComponentCollection.)
Public methodCopyToCopies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Inherited from ModelComponentCollection.)
Protected methodEnsureLoadedInfrastructure. (Inherited from ModelComponentCollection.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindGets the DataSourcePermission with the specified identifier from the collection.
Public methodFindByNameGets the DataSourcePermission, with the specified name, from the collection.
Public methodFindByRoleGets the DataSourcePermission, with the specified role identifier, from the collection.
Public methodGetByNameGets the DataSourcePermission, with the specified name, from the collection.
Public methodGetByRoleGets the DataSourcePermission, with the specified role identifier, from the collection.
Public methodGetEnumeratorReturns an enumerator that can iterate through the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetItemGets a reference to the specified component. (Inherited from ModelComponentCollection.)
Public methodGetNewID() (Inherited from NamedComponentCollection.)
Public methodGetNewID(String) (Inherited from NamedComponentCollection.)
Public methodGetNewName() (Inherited from NamedComponentCollection.)
Public methodGetNewName(String) (Inherited from NamedComponentCollection.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf(String)Gets the index of a DataSourcePermission with the specified identifier.
Public methodIndexOf(DataSourcePermission)Gets the index of a specified DataSourcePermission.
Protected methodIndexOf(IModelComponent) (Inherited from ModelComponentCollection.)
Public methodIndexOfName (Inherited from NamedComponentCollection.)
Public methodInsert(Int32, DataSourcePermission)Inserts a DataSourcePermission into the collection at the specified index.
Public methodInsert(Int32, String)Creates and inserts a DataSourcePermission, with the specified role identifier, into the collection at the specified index.
Protected methodInsert(Int32, ModelComponent)Inserts a ModelComponent in the MajorObjectCollection at the specified index. (Inherited from MajorObjectCollection.)
Public methodInsert(Int32, String, String)Creates and inserts a DataSourcePermission, with the specified name and role identifier, into the collection at the specified index.
Protected methodInsert(IModelComponent, String, Int32) (Inherited from ModelComponentCollection.)
Public methodInsert(Int32, String, String, String)Creates and inserts a DataSourcePermission, with the specified role identifier, name, and identifier, into the collection at the specified index.
Protected methodInsert(IModelComponent, String, Int32, Boolean) (Inherited from ModelComponentCollection.)
Public methodIsValidID(String) (Inherited from NamedComponentCollection.)
Public methodIsValidID(String, String) (Inherited from NamedComponentCollection.)
Protected methodIsValidID(String, Type, String) (Inherited from NamedComponentCollection.)
Public methodIsValidName(String) (Inherited from NamedComponentCollection.)
Public methodIsValidName(String, String) (Inherited from NamedComponentCollection.)
Protected methodIsValidName(String, Type, String) (Inherited from NamedComponentCollection.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMove(Int32, Int32)Moves a DataSourcePermission at the current specified index to a new specified index in the collection.
Public methodMove(String, Int32)Moves a DataSourcePermission, with the specified identifier, to the specified index in the collection.
Public methodMove(DataSourcePermission, Int32)Moves a DataSourcePermission to a new index in the collection.
Public methodRemove(String)Removes the DataSourcePermission, with the specified identifier, from the collection.
Public methodRemove(DataSourcePermission)Removes the specified DataSourcePermission from the collection.
Protected methodRemove(IModelComponent) (Inherited from ModelComponentCollection.)
Public methodRemove(String, Boolean)Infrastructure.
Public methodRemove(DataSourcePermission, Boolean)Infrastructure.
Public methodRemoveAt(Int32)Removes the IModelComponent at the specified index from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodRemoveAt(Int32, Boolean)Infrastructure. (Inherited from ModelComponentCollection.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public eventCollectionChangedInfrastructure. (Inherited from ModelComponentCollection.)
Public eventCollectionChangingInfrastructure. (Inherited from ModelComponentCollection.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft