共用方式為


GetTextBody 方法 (Boolean)

Returns the text body.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Protected Function GetTextBody ( _
    forScripting As Boolean _
) As String
'用途
Dim forScripting As Boolean
Dim returnValue As String

returnValue = Me.GetTextBody(forScripting)
protected string GetTextBody(
    bool forScripting
)
protected:
String^ GetTextBody(
    bool forScripting
)
member GetTextBody : 
        forScripting:bool -> string 
protected function GetTextBody(
    forScripting : boolean
) : String

參數

  • forScripting
    型別:System. . :: . .Boolean
    A Boolean value that specifies whether the text body is to be used for scripting.
    If True, the text body is for scripting. Otherwise, False.

傳回值

型別:System. . :: . .String
A String value that specifies the text body.

範例

指令碼