Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DatabasePermissionCollection Class

 

Applies To: SQL Server 2016 Preview

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

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


[DefaultMemberAttribute("Item")]
[GuidAttribute("7DF11866-31F5-48a8-BECA-8D16BF4F570F")]
public sealed class DatabasePermissionCollection : MajorObjectCollection

NameDescription
System_CAPS_pubpropertyCount

Gets the number of ModelComponent objects in the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyIsFixedSize

Gets a value indicating whether the ModelComponentCollection has a fixed size.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the ModelComponentCollection is read-only.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyIsSynchronized

Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe).(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyItem[Int32]

Gets the DatabasePermission at the specified index from the collection.

System_CAPS_pubpropertyItem[String]

Gets the DatabasePermission with the specified identifier from the collection.

System_CAPS_pubpropertyParent

Gets the IModelComponent that contains the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the ModelComponentCollection.(Inherited from ModelComponentCollection.)

NameDescription
System_CAPS_pubmethodAdd(DatabasePermission)

Adds a DatabasePermission to the end of the collection.

System_CAPS_protmethodAdd(ModelComponent)

Adds a ModelComponent to the end of the MajorObjectCollection.(Inherited from MajorObjectCollection.)

System_CAPS_protmethodAdd(ModelComponent, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a ModelComponent object to the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodAdd(String)

Creates and adds a DatabasePermission with the specified identifier to the end of the collection.

System_CAPS_pubmethodAdd(String, String)

Creates and adds a DatabasePermission with the specified name and identifier to the end of the collection.

System_CAPS_pubmethodAdd(String, String, String)

Creates and adds a DatabasePermission, with the specified role identifier, name, and identifier, to the end of the collection.

System_CAPS_pubmethodCanAdd(ModelComponent, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Indicates whether the collection can add a T: HYPERLINK "http://msdn.microsoft.com/en-us/library/microsoft.analysisservices.modelcomponent" Microsoft.AnalysisServices.ModelComponent.(Inherited from NamedComponentCollection.)

System_CAPS_protmethodChangeKey(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Changes the specified keys to the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodClear()

Removes all elements from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodContains(DatabasePermission)

Indicates whether the collection contains the specified DatabasePermission.

System_CAPS_pubmethodContains(String)

Indicates whether the collection contains a DatabasePermission with the specified identifier.

System_CAPS_pubmethodContainsName(String)

Indicates whether the component contains its name.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodFind(String)

Gets the DatabasePermission with the specified identifier from the collection.

System_CAPS_pubmethodFindByName(String)

Gets the DatabasePermission, with the specified name, from the collection.

System_CAPS_pubmethodFindByRole(String)

Gets the DatabasePermission with the specified role identifier from the collection.

System_CAPS_pubmethodGetByName(String)

Gets the DatabasePermission, with the specified name, from the collection.

System_CAPS_pubmethodGetByRole(String)

Gets the DatabasePermission, with the specified role identifier, from the collection.

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that can iterate through the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetNewID()

Gets a new unique ID for the component.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetNewID(String)

Gets the value for the new unique ID.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetNewName()

Gets a unique new name for the component.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetNewName(String)

Gets a unique new name for the component with the specified name prefix.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(DatabasePermission)

Gets the index of a specified DatabasePermission.

System_CAPS_pubmethodIndexOf(String)

Gets the index of a DatabasePermission with the specified identifier.

System_CAPS_pubmethodIndexOfName(String)

Gets the index of the NamedComponent, identified by name, in the collection.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodInsert(Int32, DatabasePermission)

Inserts a DatabasePermission into the collection at the specified index.

System_CAPS_protmethodInsert(Int32, ModelComponent)

Inserts a ModelComponent in the MajorObjectCollection at the specified index.(Inherited from MajorObjectCollection.)

System_CAPS_pubmethodInsert(Int32, String)

Creates and inserts a DatabasePermission with the specified identifier into the collection at the specified index.

System_CAPS_pubmethodInsert(Int32, String, String)

Creates and inserts a DatabasePermission, with the specified name and identifier, into the collection at the specified index.

System_CAPS_pubmethodInsert(Int32, String, String, String)

Creates and inserts a DatabasePermission, with the specified role identifier, name, and identifier, into the collection at the specified index.

System_CAPS_pubmethodIsValidID(String)

Determines whether the named component collection identifier is valid.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodIsValidID(String, String)

Determines whether the named component collection identifier is valid.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodIsValidName(String)

Determines whether the named component collection name is valid.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodIsValidName(String, String)

Determines whether the named component collection name is valid.(Inherited from NamedComponentCollection.)

System_CAPS_protmethodIsValidName(String, Type, ModelType, Int32, String)

Determines whether the named component collection name is valid.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodMove(DatabasePermission, Int32)

Moves a DatabasePermission to a new index in the collection.

System_CAPS_pubmethodMove(Int32, Int32)

Moves a DatabasePermission at the current specified index to a new specified index in the collection.

System_CAPS_pubmethodMove(String, Int32)

Moves a DatabasePermission with the specified identifier to the specified index in the collection.

System_CAPS_pubmethodRemove(DatabasePermission)

Removes the specified DatabasePermission from the collection.

System_CAPS_pubmethodRemove(DatabasePermission, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes the specified DatabasePermission from this collection.

System_CAPS_protmethodRemove(IModelComponent)

Removes the specified IModelComponent from the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodRemove(String)

Removes the DatabasePermission with the specified identifier from the collection.

System_CAPS_pubmethodRemove(String, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes a DatabasePermission from this collection.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the IModelComponent at the specified index from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodRemoveAt(Int32, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes the IModelComponent at the specified index from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventCollectionChanged

This API supports the product infrastructure and is not intended to be used directly from your code. Occurs when the collection changes.(Inherited from ModelComponentCollection.)

System_CAPS_pubeventCollectionChanging

This API supports the product infrastructure and is not intended to be used directly from your code. Occurs when the collection is changing.(Inherited from ModelComponentCollection.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIOnDemandLoadableCollection.BlockOnDemandLoad(Boolean)

Specifies the blocked demand load.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection.Contains(IModelComponent)

Indicates whether the collection contains a specific value.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection.Remove(IModelComponent)

Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection.Remove(IModelComponent, Boolean)

Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

Adds an item to the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Clear()

Removes all items from the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

Indicates whether the collection contains a specific value.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

Determines the index of a specific item in the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

Inserts an item to the collection at the specified index.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(Object)

Removes the first occurrence of a specified object from the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.RemoveAt(Int32)

Removes the item at the specified index.(Inherited from ModelComponentCollection.)

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

Return to top

Community Additions

Show:
© 2015 Microsoft