Scripter.WriteCreate Method

Definition

Writes a create element into the script.

public static void WriteCreate (System.Xml.XmlWriter xmlWriter, Microsoft.AnalysisServices.IMajorObject parent, Microsoft.AnalysisServices.IMajorObject obj, bool fullExpanded, bool allowOverwrite);
static member WriteCreate : System.Xml.XmlWriter * Microsoft.AnalysisServices.IMajorObject * Microsoft.AnalysisServices.IMajorObject * bool * bool -> unit
Public Shared Sub WriteCreate (xmlWriter As XmlWriter, parent As IMajorObject, obj As IMajorObject, fullExpanded As Boolean, allowOverwrite As Boolean)

Parameters

xmlWriter
XmlWriter

The writer into which the output is writen.

parent
IMajorObject

The parent of the targeted object.

obj
IMajorObject

The targeted object.

fullExpanded
Boolean

true to expand completely; otherwise, false.

allowOverwrite
Boolean

true to allow overwrite; otherwise, false.

Applies to