ScriptNameObjectBase.GetTextBody Method (Boolean)

Returns the text body.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Protected Function GetTextBody ( _
    forScripting As Boolean _
) As String
'Usage
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

Parameters

  • forScripting
    Type: 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.

Return Value

Type: System.String
A String value that specifies the text body.

Examples

Scripting

See Also

Reference

ScriptNameObjectBase Class

GetTextBody Overload

Microsoft.SqlServer.Management.Smo Namespace