Share via


ScriptOption.IncludeHeaders Property

Gets an object that specifies whether the generated script is prefixed with a header containing information including the date and time of generation.

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

Syntax

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

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

Property Value

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

Examples

Scripting