Share via


RefreshChildren Method

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The RefreshChildren method forces an update of dependent collection membership for a SQL-DMO object.

Syntax

object
.RefreshChildren(
)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

HRESULT RefreshChildren();

Remarks

The RefreshChildren method encapsulates multiple calls to the Refresh method for collections of the SQL Distributed Management Objects (SQL-DMO) object. The method uses the default (FALSE) setting for the Release argument of the Refresh method. For more information, see Refresh Method.

Applies To:

MergePublication Object

TransPublication Object

ReplicationDatabase Object