ScriptNameObjectBase.GetTextBody Method (Boolean)


Returns the text body.

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

Protected Function GetTextBody (
	forScripting As Boolean
) As String


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.

Return to top