Compartilhar via


Método GetTextBody (Boolean)

Returns the text body.

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

Sintaxe

'Declaração
Protected Function GetTextBody ( _
    forScripting As Boolean _
) As String
'Uso
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

Parâmetros

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

Valor de retorno

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

Exemplos

Gerando scripts