Partager via


RefreshChildren Method

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

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

Syntaxe

object.RefreshChildren()

Parts

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

Prototype (C/C++)

HRESULT RefreshChildren();

Notes

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.