Partager via


IncludeDatabaseContext propriété

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared ReadOnly Property IncludeDatabaseContext As ScriptOption
    Get
'Utilisation
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

Valeur de la propriété

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