Classe NamedComponent
Represents a named component.
Hiérarchie d'héritage
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.NamedComponent
Plus...
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
<GuidAttribute("AA77A7C5-38A3-41ad-BAE8-3101FE6A116D")> _
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")> _
Public MustInherit Class NamedComponent _
Inherits ModelComponent _
Implements INamedComponent, IModelComponent, IComponent, IDisposable, _
IFormattable
'Utilisation
Dim instance As NamedComponent
[GuidAttribute("AA77A7C5-38A3-41ad-BAE8-3101FE6A116D")]
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")]
public abstract class NamedComponent : ModelComponent,
INamedComponent, IModelComponent, IComponent, IDisposable, IFormattable
[GuidAttribute(L"AA77A7C5-38A3-41ad-BAE8-3101FE6A116D")]
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")]
public ref class NamedComponent abstract : public ModelComponent,
INamedComponent, IModelComponent, IComponent, IDisposable, IFormattable
[<AbstractClassAttribute>]
[<GuidAttribute("AA77A7C5-38A3-41ad-BAE8-3101FE6A116D")>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736AD6E5F9586BAC2D531EABC3ACC666C2F8EC879FA94F8F7B0327D2FF2ED523448F83C3D5C5DD2DFC7BC99C5286B2C125117BF5CBE242B9D41750732B2BDFFE649C6EFB8E5526D526FDD130095ECDB7BF210809C6CDAD8824FAA9AC0310AC3CBA2AA0523567B2DFA7FE250B30FACBD62D4EC99B94AC47C7D3B28F1F6E4C8")>]
type NamedComponent =
class
inherit ModelComponent
interface INamedComponent
interface IModelComponent
interface IComponent
interface IDisposable
interface IFormattable
end
public abstract class NamedComponent extends ModelComponent implements INamedComponent, IModelComponent, IComponent, IDisposable, IFormattable
Le type NamedComponent expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
NamedComponent() | Initializes a new instance of the NamedComponent class. | |
NamedComponent(String) | Initializes a new instance of the NamedComponent class. | |
NamedComponent(String, String) | Initializes a new instance of the NamedComponent class. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
Annotations | Gets a collection within which you can store custom data. (hérité de ModelComponent.) | |
CanRaiseEvents | (hérité de Component.) | |
Container | (hérité de Component.) | |
Description | Gets or sets the description of the component. | |
DesignMode | (hérité de Component.) | |
Events | (hérité de Component.) | |
FriendlyName | Returns a user-friendly name. (remplace ModelComponent.FriendlyName.) | |
ID | Gets or sets the identifier of the component. | |
KeyForCollection | Returns the key used in collections. (remplace ModelComponent.KeyForCollection.) | |
Name | Gets or sets the name of the component. | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (hérité de ModelComponent.) | |
Parent | Infrastructure. Gets the IModelComponent object that is the parent of the ModelComponent object. (hérité de ModelComponent.) | |
Site | Infrastructure. Gets or sets the site of the component. (remplace Component.Site.) | |
SiteID | Infrastructure. Gets or sets the identifier for the site associated with the component. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
AddToContainer | Infrastructure. Adds a ModelComponent object to the specified container. (hérité de ModelComponent.) | |
AfterInsert | Infrastructure. Displays a ModelComponent object after added to the specified index. (hérité de ModelComponent.) | |
AfterMove | Infrastructure. Displays a ModelComponent object after moving to the specified index. (hérité de ModelComponent.) | |
AfterRemove | Infrastructure. Displays a ModelComponentCollection after a ModelComponent object is removed. (hérité de ModelComponent.) | |
BeforeRemove | Infrastructure. Removes the ModelComponent object before the cleanup. (hérité de ModelComponent.) | |
CopyTo(ModelComponent) | Infrastructure. Copies a ModelComponent object to the specified object. (hérité de ModelComponent.) | |
CopyTo(NamedComponent) | Infrastructure. Copies a NamedComponent object to the specified object. | |
CreateObjRef | Informations critiques de sécurité. (hérité de MarshalByRefObject.) | |
Dispose() | (hérité de Component.) | |
Dispose(Boolean) | (hérité de Component.) | |
Equals | (hérité de Object.) | |
Finalize | (hérité de Component.) | |
GetHashCode | (hérité de Object.) | |
GetLifetimeService | Informations critiques de sécurité. (hérité de MarshalByRefObject.) | |
GetService | (hérité de Component.) | |
GetType | (hérité de Object.) | |
InitializeLifetimeService | Informations critiques de sécurité. (hérité de MarshalByRefObject.) | |
MemberwiseClone() | (hérité de Object.) | |
MemberwiseClone(Boolean) | (hérité de MarshalByRefObject.) | |
RemoveFromContainer | Infrastructure. Removes a ModelComponent object from the specified container. (hérité de ModelComponent.) | |
Reset | Infrastructure. Resets the component to its initial state. | |
Submit() | Infrastructure. Submits a ModelComponent object. (hérité de ModelComponent.) | |
Submit(Boolean) | Infrastructure. Submits a ModelComponent object. (hérité de ModelComponent.) | |
ToString | Returns a string containing the name of the component. (remplace ModelComponent.ToString().) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (hérité de ModelComponent.) | |
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. (hérité de ModelComponent.) | |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | Determines whether the NamedComponent is valid. (remplace ModelComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).) |
Haut de la page
Événements
Nom | Description | |
---|---|---|
Disposed | (hérité de Component.) |
Haut de la page
Champs
Nom | Description | |
---|---|---|
MaxIDLength | Specifies the maximum length of the identifier. | |
MaxNameLength | Specifies the maximum length of the name. |
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
IFormattable.ToString | Formats the value of the current instance using the specified format. | |
IHostableComponent.Host | Gets or sets the IServiceProvider that is the host of the ModelComponent. (hérité de ModelComponent.) | |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. (hérité de ModelComponent.) | |
IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. (hérité de ModelComponent.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Voir aussi
Référence
Espace de noms Microsoft.AnalysisServices
Hiérarchie d'héritage
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.NamedComponent
Microsoft.AnalysisServices.Action
Microsoft.AnalysisServices.Aggregation
Microsoft.AnalysisServices.AggregationInstance
Microsoft.AnalysisServices.CubeDimension
Microsoft.AnalysisServices.DimensionAttribute
Microsoft.AnalysisServices.Hierarchy
Microsoft.AnalysisServices.Kpi
Microsoft.AnalysisServices.Level
Microsoft.AnalysisServices.MajorObject
Microsoft.AnalysisServices.Measure
Microsoft.AnalysisServices.MiningModelColumn
Microsoft.AnalysisServices.MiningStructureColumn