NamedComponent NamedComponent 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
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
Derived
Attributes
Implements

Constructors

NamedComponent() NamedComponent() NamedComponent()

Initializes a new instance of the NamedComponent class.

NamedComponent(String) NamedComponent(String) NamedComponent(String)

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

NamedComponent(String, String) NamedComponent(String, String) NamedComponent(String, String)

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

Fields

MaxIDLength MaxIDLength MaxIDLength

Specifies the maximum length of the identifier.

MaxNameLength MaxNameLength MaxNameLength

Specifies the maximum length of the name.

Properties

Annotations Annotations Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
Description Description Description

Gets or sets the description of the component.

FriendlyName FriendlyName FriendlyName

Gets a user-friendly name for the component.

ID ID ID

Gets or sets the identifier of the component.

IHostableComponent.Host IHostableComponent.Host IHostableComponent.Host Inherited from ModelComponent
IModelComponent.FriendlyPath IModelComponent.FriendlyPath IModelComponent.FriendlyPath Inherited from ModelComponent
IModelComponent.OwningCollection IModelComponent.OwningCollection IModelComponent.OwningCollection Inherited from ModelComponent
KeyForCollection KeyForCollection KeyForCollection

Gets the key used in collections.

Name Name Name

Gets or sets the name of the component.

OwningCollection OwningCollection OwningCollection

Gets or sets the collection that contains the ModelComponent.

(Inherited from ModelComponent)
Parent Parent Parent

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

(Inherited from ModelComponent)
Site Site Site

Gets or sets the site associated with the component.

SiteID SiteID SiteID

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

Methods

AddToContainer(IContainer) AddToContainer(IContainer) AddToContainer(IContainer)

Adds the ModelComponent object to the specified container.

(Inherited from ModelComponent)
AfterInsert(Int32) AfterInsert(Int32) AfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.

(Inherited from ModelComponent)
AfterMove(Int32, Int32) AfterMove(Int32, Int32) AfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.

(Inherited from ModelComponent)
AfterRemove(ModelComponentCollection) AfterRemove(ModelComponentCollection) AfterRemove(ModelComponentCollection)

Displays a ModelComponentCollection after a ModelComponent object is removed.

(Inherited from ModelComponent)
BeforeRemove(Boolean) BeforeRemove(Boolean) BeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.

(Inherited from ModelComponent)
CopyTo(ModelComponent) CopyTo(ModelComponent) CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
CopyTo(NamedComponent) CopyTo(NamedComponent) CopyTo(NamedComponent)

Copies a NamedComponent object to the specified object.

RemoveFromContainer(IContainer) RemoveFromContainer(IContainer) RemoveFromContainer(IContainer)

Removes the ModelComponent object from the specified container.

(Inherited from ModelComponent)
Reset() Reset() Reset()

Resets the component to its initial state.

Submit() Submit() Submit()

Submits a ModelComponent object.

(Inherited from ModelComponent)
Submit(Boolean) Submit(Boolean) Submit(Boolean)

Submits a ModelComponent object.

(Inherited from ModelComponent)
ToString() ToString() ToString()

Returns a string representing the named-component.

Validate(ValidationErrorCollection) Validate(ValidationErrorCollection) Validate(ValidationErrorCollection)

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

(Inherited from ModelComponent)
Validate(ValidationErrorCollection, Boolean) Validate(ValidationErrorCollection, Boolean) 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, Boolean, ServerEdition) Validate(ValidationErrorCollection, Boolean, ServerEdition) Validate(ValidationErrorCollection, Boolean, ServerEdition)

Determines whether the NamedComponent is valid.

Explicit Interface Implementations

IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider)

Applies to