Command.Annotations Property

 

Applies To: SQL Server 2016 Preview

Gets the name and value of an implicit measure.

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

Syntax

[XmlArrayAttribute]
[BrowsableAttribute(false)]
[XmlArrayItemAttribute(typeof(Annotation))]
public AnnotationCollection Annotations { get; }
public:
[XmlArrayAttribute]
[BrowsableAttribute(false)]
[XmlArrayItemAttribute((Annotation^::typeid))]
property AnnotationCollection^ Annotations {
    AnnotationCollection^ get();
}
[<XmlArrayAttribute>]
[<BrowsableAttribute(false)>]
[<XmlArrayItemAttribute(typeof(Annotation))>]
member Annotations : AnnotationCollection with get
<XmlArrayAttribute>
<BrowsableAttribute(False)>
<XmlArrayItemAttribute(GetType(Annotation))>
Public ReadOnly Property Annotations As AnnotationCollection

Property Value

Type: Microsoft.AnalysisServices.AnnotationCollection

Returns AnnotationCollection.

Remarks

Annotations on a Command object can be used to return the name and value of an implicit measure. An implicit measure is created automatically by a client application when an aggregation method can be inferred based on the characteristics of the column. For example, in Excel, users can create an implicit SUM measure by dragging a numeric field into the Values area of a field list.

See Also

Command Class
Microsoft.AnalysisServices Namespace

Return to top