AnnotationCollection.SetText Method (String, String)
Applies To: SQL Server (starting with 2016)
Sets the Annotation, with the specified name, to a specified String value.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public void SetText(
string name,
string text
)
public:
void SetText(
String^ name,
String^ text
)
member SetText :
name:string *
text:string -> unit
Public Sub SetText (
name As String,
text As String
)
Parameters
name
Type: System.StringThe name of the Annotation to be added.
text
Type: System.StringThe value to be set for the Annotation identified by name.
See Also
SetText Overload
AnnotationCollection Class
Microsoft.AnalysisServices Namespace
Return to top