AnnotationCollection.Item Property (String)
Applies To: SQL Server (starting with 2016)
Gets the Annotation, with the specified name, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public Annotation this[
string name
] { get; }
public:
property Annotation^ default[
String^ name
] {
Annotation^ get(String^ name);
}
member Item :
name:string -> Annotation with get
Public ReadOnly Property Item (
name As String
) As Annotation
Parameters
name
Type: System.StringThe name of the Annotation to be returned.
Property Value
Type: Microsoft.AnalysisServices.Annotation
The Annotation specified by name.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |
Exception | name does not exist in the collection. |
See Also
Item Overload
AnnotationCollection Class
Microsoft.AnalysisServices Namespace
Return to top