Partilhar via


Propriedade do RDL ScriptOption.IncludeDatabaseContext

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

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

Sintaxe

'Declaração
Public Shared ReadOnly Property IncludeDatabaseContext As ScriptOption 
    Get
'Uso
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

Valor da propriedade

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

Exemplos

Gerando scripts

Consulte também

Referência

ScriptOption Classe

Namespace Microsoft.SqlServer.Management.Smo