SmoCollectionBase.Refresh 方法 (Boolean)

Refreshes the referenced collection with the option to refresh child objects of the referenced collection.

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

语法

声明
Public Sub Refresh ( _
    refreshChildObjects As Boolean _
)
用法
Dim instance As SmoCollectionBase 
Dim refreshChildObjects As Boolean

instance.Refresh(refreshChildObjects)
public void Refresh(
    bool refreshChildObjects
)
public:
void Refresh(
    bool refreshChildObjects
)
member Refresh : 
        refreshChildObjects:bool -> unit
public function Refresh(
    refreshChildObjects : boolean
)

参数

  • refreshChildObjects
    类型:System.Boolean
    A Boolean value that specifies whether to refresh the child objects.If True, child objects are refreshed.If False, child objects are not refreshed.

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

示例

使用集合

请参阅

参考

SmoCollectionBase 类

Refresh 重载

Microsoft.SqlServer.Management.Smo 命名空间