共用方式為


Scripter.WriteAlter 方法

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

Writes an alteration script for the Scripter session.

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

語法

'宣告
Public Shared Sub WriteAlter ( _
    xmlWriter As XmlWriter, _
    obj As IMajorObject, _
    fullExpanded As Boolean, _
    allowCreate As Boolean _
)
'用途
Dim xmlWriter As XmlWriter 
Dim obj As IMajorObject 
Dim fullExpanded As Boolean 
Dim allowCreate As Boolean 

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

參數

  • fullExpanded
    型別:System.Boolean
    true to expand completely; otherwise, false.
  • allowCreate
    型別:System.Boolean
    true to allow the create method; otherwise, false.

請參閱

參考

Scripter 類別

Microsoft.AnalysisServices 命名空間