Dela via


ScriptOption.DdlHeaderOnly Property

Gets an object value that specifies whether to script only the header information 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 DdlHeaderOnly As ScriptOption
    Get
'Usage
Dim value As ScriptOption

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

Property Value

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

Examples

Scripting