Delen via


ScriptOption.IncludeDatabaseContext Property

Gets an object value that specifies whether database content is included in the generated script.

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

Syntax

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

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

Property Value

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

Examples

Scripting