Partager via


Méthode ScriptNameObjectBase.GetTextBody (Boolean)

Returns the text body.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Protected Function GetTextBody ( _
    forScripting As Boolean _
) As String
'Utilisation
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

Paramètres

  • 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.

Valeur de retour

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

Exemples

Création de scripts

Voir aussi

Référence

ScriptNameObjectBase Classe

Surcharge GetTextBody

Espace de noms Microsoft.SqlServer.Management.Smo