Partager via


Méthode Scripter.WriteAlter

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Writes an alteration script for the Scripter session.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Shared Sub WriteAlter ( _
    xmlWriter As XmlWriter, _
    obj As IMajorObject, _
    fullExpanded As Boolean, _
    allowCreate As Boolean _
)
'Utilisation
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
)

Paramètres

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

Voir aussi

Référence

Scripter Classe

Espace de noms Microsoft.AnalysisServices