Share via


SmoCollectionBase.Refresh Method (Boolean)

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Refresh ( _
    refreshChildObjects As Boolean _
)
'Usage
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
)

Parameters

  • refreshChildObjects
    Type: 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.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Using Collections

See Also

Reference

SmoCollectionBase Class

Refresh Overload

Microsoft.SqlServer.Management.Smo Namespace