Метод 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
)
Параметры
- xmlWriter
Тип: System.Xml.XmlWriter
The xml writer.
- obj
Тип: Microsoft.AnalysisServices.IMajorObject
The object to be used.
- fullExpanded
Тип: System.Boolean
true to expand completely; otherwise, false.
- allowCreate
Тип: System.Boolean
true to allow the create method; otherwise, false.