Share via


Scripter.WriteCreate Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Writes a scrip to create a Scripter object.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Shared Sub WriteCreate ( _
    xmlWriter As XmlWriter, _
    parent As IMajorObject, _
    obj As IMajorObject, _
    fullExpanded As Boolean, _
    allowOverwrite As Boolean _
)
'Usage
Dim xmlWriter As XmlWriter 
Dim parent As IMajorObject 
Dim obj As IMajorObject 
Dim fullExpanded As Boolean 
Dim allowOverwrite As Boolean 

Scripter.WriteCreate(xmlWriter, parent, _
    obj, fullExpanded, allowOverwrite)
public static void WriteCreate(
    XmlWriter xmlWriter,
    IMajorObject parent,
    IMajorObject obj,
    bool fullExpanded,
    bool allowOverwrite
)
public:
static void WriteCreate(
    XmlWriter^ xmlWriter, 
    IMajorObject^ parent, 
    IMajorObject^ obj, 
    bool fullExpanded, 
    bool allowOverwrite
)
static member WriteCreate : 
        xmlWriter:XmlWriter * 
        parent:IMajorObject * 
        obj:IMajorObject * 
        fullExpanded:bool * 
        allowOverwrite:bool -> unit
public static function WriteCreate(
    xmlWriter : XmlWriter, 
    parent : IMajorObject, 
    obj : IMajorObject, 
    fullExpanded : boolean, 
    allowOverwrite : boolean
)

Parameters

  • fullExpanded
    Type: System.Boolean
    true to expand completely; otherwise, false.
  • allowOverwrite
    Type: System.Boolean
    true to allow overwrite; otherwise, false.

See Also

Reference

Scripter Class

Microsoft.AnalysisServices Namespace