Freigeben über


ScriptNameObjectBase.GetTextBody-Methode (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

Parameter

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

Rückgabewert

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

Beispiele

Skripterstellung

Siehe auch

Verweis

ScriptNameObjectBase Klasse

GetTextBody-Überladung

Microsoft.SqlServer.Management.Smo-Namespace