Delen via


INamedComponentCollection Interface

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Contains a collection of specified objects.

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

Syntax

'Declaration
<GuidAttribute("663B8189-4FAF-48ef-A447-394B615D45F0")> _
Public Interface INamedComponentCollection _
    Inherits IModelComponentCollection, ICollection, IEnumerable
'Usage
Dim instance As INamedComponentCollection
[GuidAttribute("663B8189-4FAF-48ef-A447-394B615D45F0")]
public interface INamedComponentCollection : IModelComponentCollection, 
    ICollection, IEnumerable
[GuidAttribute(L"663B8189-4FAF-48ef-A447-394B615D45F0")]
public interface class INamedComponentCollection : IModelComponentCollection, 
    ICollection, IEnumerable
[<GuidAttribute("663B8189-4FAF-48ef-A447-394B615D45F0")>]
type INamedComponentCollection =  
    interface 
        interface IModelComponentCollection 
        interface ICollection 
        interface IEnumerable 
    end
public interface INamedComponentCollection extends IModelComponentCollection, ICollection, IEnumerable

The INamedComponentCollection type exposes the following members.

Properties

  Name Description
Public property Count (Inherited from ICollection.)
Public property IsSynchronized (Inherited from ICollection.)
Public property Parent Infrastructure. Gets the parent IModelComponent of the IModelComponentCollection. (Inherited from IModelComponentCollection.)
Public property SyncRoot (Inherited from ICollection.)

Top

Methods

  Name Description
Public method Contains(String) Indicates whether the collection contains the AttributeRelationship, identified by attributeId.
Public method Contains(IModelComponent) Infrastructure. Indicates whether the collection contains a specified IModelComponent. (Inherited from IModelComponentCollection.)
Public method ContainsName Indicates whether the collection contains a AttributeRelationship with the specified name.
Public method CopyTo (Inherited from ICollection.)
Public method GetEnumerator (Inherited from IEnumerable.)
Public method GetNewID() Generates a new Unique ID from the component.
Public method GetNewID(String) Generates a new Unique ID from the component.
Public method GetNewName() Assists in creating new consecutive numbered names that start with namePrefix.
Public method GetNewName(String) Assists in creating new consecutive numbered names that start with namePrefix.
Public method Remove(IModelComponent) Infrastructure. Removes an IModelComponent from the collection. (Inherited from IModelComponentCollection.)
Public method Remove(IModelComponent, Boolean) Infrastructure. Removes an IModelComponent from the collection. (Inherited from IModelComponentCollection.)

Top

See Also

Reference

Microsoft.AnalysisServices Namespace