Database.PrefetchObjects 方法

定义

重载

名称 说明
PrefetchObjects()

初始化数据库中的所有对象

PrefetchObjects(Type, ScriptingOptions)

使用 初始化 t 类型的所有对象及其子级,以便编写脚本所需的子对象

PrefetchObjects(Type)

初始化 t 类型的所有对象及其子对象

PrefetchObjects()

初始化数据库中的所有对象

public void PrefetchObjects();
member this.PrefetchObjects : unit -> unit
Public Sub PrefetchObjects ()

适用于

PrefetchObjects(Type, ScriptingOptions)

使用 初始化 t 类型的所有对象及其子级,以便编写脚本所需的子对象

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)

参数

objectType
Type
scriptingOptions
ScriptingOptions

适用于

PrefetchObjects(Type)

初始化 t 类型的所有对象及其子对象

public void PrefetchObjects(Type objectType);
member this.PrefetchObjects : Type -> unit
Public Sub PrefetchObjects (objectType As Type)

参数

objectType
Type

适用于