Database.PrefetchObjects Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PrefetchObjects() |
Initializes all the objects in the database |
PrefetchObjects(Type, ScriptingOptions) |
Initializes all the objects of type t and their children needed to script with so |
PrefetchObjects(Type) |
Initializes all the objects of type t and their children |
PrefetchObjects()
Initializes all the objects in the database
public void PrefetchObjects ();
member this.PrefetchObjects : unit -> unit
Public Sub PrefetchObjects ()
Applies to
PrefetchObjects(Type, ScriptingOptions)
Initializes all the objects of type t and their children needed to script with so
public void PrefetchObjects (Type objectType, Microsoft.SqlServer.Management.Smo.ScriptingOptions scriptingOptions);
member this.PrefetchObjects : Type * Microsoft.SqlServer.Management.Smo.ScriptingOptions -> unit
Public Sub PrefetchObjects (objectType As Type, scriptingOptions As ScriptingOptions)
Parameters
- objectType
- Type
- scriptingOptions
- ScriptingOptions
Applies to
PrefetchObjects(Type)
Initializes all the objects of type t and their children
public void PrefetchObjects (Type objectType);
member this.PrefetchObjects : Type -> unit
Public Sub PrefetchObjects (objectType As Type)
Parameters
- objectType
- Type