共用方式為


AnnotationCollection.SetText 方法 (String, Int32)

Sets the Annotation, with the specified name, to a specified Int32 value.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Sub SetText ( _
    name As String, _
    value As Integer _
)
'用途
Dim instance As AnnotationCollection 
Dim name As String 
Dim value As Integer

instance.SetText(name, value)
public void SetText(
    string name,
    int value
)
public:
void SetText(
    String^ name, 
    int value
)
member SetText : 
        name:string * 
        value:int -> unit
public function SetText(
    name : String, 
    value : int
)

參數

請參閱

參考

AnnotationCollection 類別

SetText 多載

Microsoft.AnalysisServices 命名空間