Delen via


ScriptOption.DdlBodyOnly Property

Gets an object value that specifies whether to script only the text definition for data definition language (DDL) objects that have a text body, such as stored procedures and triggers.

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

Syntax

'Declaration
Public Shared ReadOnly Property DdlBodyOnly As ScriptOption
    Get
'Usage
Dim value As ScriptOption

value = ScriptOption.DdlBodyOnly
public static ScriptOption DdlBodyOnly { get; }
public:
static property ScriptOption^ DdlBodyOnly {
    ScriptOption^ get ();
}
static member DdlBodyOnly : ScriptOption
static function get DdlBodyOnly () : ScriptOption

Property Value

Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the DdlBodyOnly in the scripting options.

Examples

Scripting