ScriptOption.IncludeDatabaseContext 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Shared ReadOnly Property IncludeDatabaseContext As ScriptOption 
    Get
用法
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

属性值

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

示例

脚本撰写

请参阅

参考

ScriptOption 类

Microsoft.SqlServer.Management.Smo 命名空间