AnnotationCollection.Add Method (String, String)

 

Applies To: SQL Server (starting with 2016)

Creates and adds an Annotation, with the specified name and value, to the end of the collection.

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

Syntax

public Annotation Add(
    string name,
    string value
)
public:
Annotation^ Add(
    String^ name,
    String^ value
)
member Add : 
        name:string *
        value:string -> Annotation
Public Function Add (
    name As String,
    value As String
) As Annotation

Parameters

Return Value

Type: Microsoft.AnalysisServices.Annotation

The Annotation that was added to the collection.

See Also

Add Overload
AnnotationCollection Class
Microsoft.AnalysisServices Namespace

Return to top