共用方式為


Scripter.WriteCreate 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Writes a scrip to create a Scripter object.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Shared Sub WriteCreate ( _
    xmlWriter As XmlWriter, _
    parent As IMajorObject, _
    obj As IMajorObject, _
    fullExpanded As Boolean, _
    allowOverwrite As Boolean _
)
'用途
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
)

參數

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

請參閱

參考

Scripter 類別

Microsoft.AnalysisServices 命名空間