共用方式為


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 命名空間