NamedComponent Class

Definition

Represents a named component.

[System.Runtime.InteropServices.Guid("AA77A7C5-38A3-41ad-BAE8-3101FE6A116D")]
public abstract class NamedComponent : Microsoft.AnalysisServices.ModelComponent, IDisposable, IFormattable, Microsoft.AnalysisServices.INamedComponent
[<System.Runtime.InteropServices.Guid("AA77A7C5-38A3-41ad-BAE8-3101FE6A116D")>]
type NamedComponent = class
    inherit ModelComponent
    interface INamedComponent
    interface IModelComponent
    interface IComponent
    interface IDisposable
    interface IFormattable
Public MustInherit Class NamedComponent
Inherits ModelComponent
Implements IDisposable, IFormattable, INamedComponent
Inheritance
NamedComponent
Derived
Attributes
Implements

Constructors

NamedComponent()

Initializes a new instance of the NamedComponent class.

NamedComponent(String, String)

Initializes a new instance of the NamedComponent class with the specified name and identifier.

NamedComponent(String)

Initializes a new instance of the NamedComponent class with the specified name.

Fields

MaxIDLength

Specifies the maximum length of the identifier.

MaxNameLength

Specifies the maximum length of the name.

Properties

Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
Description

Gets or sets the description of the component.

FriendlyName

Gets a user-friendly name for the component.

ID

Gets or sets the identifier of the component.

KeyForCollection

Gets the key used in collections.

Name

Gets or sets the name of the component.

OwningCollection

Gets or sets the collection that contains the ModelComponent.

(Inherited from ModelComponent)
Parent

Gets the IModelComponent object that is the parent of the ModelComponent object.

(Inherited from ModelComponent)
Site

Gets or sets the site associated with the component.

SiteID

Gets or sets the identifier for the site associated with the component.

Methods

AddToContainer(IContainer)

Adds the ModelComponent object to the specified container.

(Inherited from ModelComponent)
AfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.

(Inherited from ModelComponent)
AfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.

(Inherited from ModelComponent)
AfterRemove(ModelComponentCollection)

Displays a ModelComponentCollection after a ModelComponent object is removed.

(Inherited from ModelComponent)
BeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.

(Inherited from ModelComponent)
CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
CopyTo(NamedComponent)

Copies a NamedComponent object to the specified object.

RemoveFromContainer(IContainer)

Removes the ModelComponent object from the specified container.

(Inherited from ModelComponent)
Reset()

Resets the component to its initial state.

Submit()

Submits a ModelComponent object.

(Inherited from ModelComponent)
Submit(Boolean)

Submits a ModelComponent object.

(Inherited from ModelComponent)
ToString()

Returns a string representing the named-component.

Validate(ValidationErrorCollection, Boolean, ServerEdition)

Determines whether the NamedComponent is valid.

Validate(ValidationErrorCollection, Boolean)

Validates the element to which it is appended; returns any errors encountered in a collection. Also contains a parameter to enable return of detailed errors.

(Inherited from ModelComponent)
Validate(ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.

(Inherited from ModelComponent)

Explicit Interface Implementations

IFormattable.ToString(String, IFormatProvider)
IHostableComponent.Host (Inherited from ModelComponent)
IModelComponent.FriendlyPath (Inherited from ModelComponent)
IModelComponent.OwningCollection (Inherited from ModelComponent)

Applies to