Scripter.PrefetchObjects Property
Gets or sets the Boolean property value that specifies whether the objects are loaded before scripting operations, or only as they are required.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Property PrefetchObjects As Boolean
Get
Set
'Usage
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)
Property Value
Type: 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.