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 命名空间