共用方式為


SmoObjectExtender<T>.PropagateAlterToChildren Method

Definition

Adds the Alter script of the child objects to the script.

protected void PropagateAlterToChildren (System.Collections.Specialized.StringCollection script, bool scriptParent = false);
member this.PropagateAlterToChildren : System.Collections.Specialized.StringCollection * bool -> unit
Protected Sub PropagateAlterToChildren (script As StringCollection, Optional scriptParent As Boolean = false)

Parameters

scriptParent
Boolean

Whether to also script Alter for the parent object

Applies to