AnnotationCollection.Item Property (String)

Gets the Annotation, with the specified name, from the collection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As Annotation
public Annotation this [
    string name
] { get; }
public:
property Annotation^ default [String^] {
    Annotation^ get (String^ name);
}
/** @property */
public Annotation get_Item (String name)

Parameters

Property Value

The Annotation specified by name.

Exceptions

Exception type Condition
ArgumentNullException

name is a null reference (Nothing in Visual Basic).

ItemNotFoundException

name does not exist in the collection.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AnnotationCollection Class
AnnotationCollection Members
Microsoft.AnalysisServices Namespace