Scripter.PrefetchObjects 属性

Gets or sets the Boolean property value that specifies whether the objects are loaded before scripting operations, or only as they are required.

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

语法

声明
Public Property PrefetchObjects As Boolean 
    Get 
    Set
用法
Dim instance As Scripter 
Dim value As Boolean 

value = instance.PrefetchObjects

instance.PrefetchObjects = value
public bool PrefetchObjects { get; set; }
public:
property bool PrefetchObjects {
    bool get ();
    void set (bool value);
}
member PrefetchObjects : bool with get, set
function get PrefetchObjects () : boolean 
function set PrefetchObjects (value : boolean)

属性值

类型:System.Boolean
A Boolean value that specifies whether the objects are loaded before scripting operations, or only as they are required.If True, the objects are loaded before scripting operations. If False (default), the objects are loaded only as they are required by the scripting operation.

示例

脚本撰写

请参阅

参考

Scripter 类

Microsoft.SqlServer.Management.Smo 命名空间