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.

示例

脚本撰写