Метод 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
)
Параметры
- 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.