此 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
)
参数
- xmlWriter
类型:System.Xml.XmlWriter
The xml writer.
- parent
类型:Microsoft.AnalysisServices.IMajorObject
The parent object.
- obj
类型:Microsoft.AnalysisServices.IMajorObject
The object to be used.
- fullExpanded
类型:System.Boolean
true to expand completely; otherwise, false.
- allowOverwrite
类型:System.Boolean
true to allow overwrite; otherwise, false.