Share via


MajorObject.Annotations Property

Gets the collection object of all annotations to current object.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Annotations As AnnotationCollection
    Get
'Usage
Dim instance As MajorObject
Dim value As AnnotationCollection

value = instance.Annotations
public override AnnotationCollection Annotations { get; }
public:
virtual property AnnotationCollection^ Annotations {
    AnnotationCollection^ get () override;
}
abstract Annotations : AnnotationCollection
override Annotations : AnnotationCollection
override function get Annotations () : AnnotationCollection

Property Value

Type: Microsoft.AnalysisServices.AnnotationCollection
An AnnotationCollection object that has all annotations to current object.

Remarks

Annotations are only used in DataItem objects.