Méthode TSqlObject.GetScript
Generates a CREATE script from the objects AST.
Espace de noms : Microsoft.SqlServer.Dac.Model
Assembly : Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)
Syntaxe
'Déclaration
Public Function GetScript As String
'Utilisation
Dim instance As TSqlObject
Dim returnValue As String
returnValue = instance.GetScript()
public string GetScript()
public:
String^ GetScript()
member GetScript : unit -> string
public function GetScript() : String
Valeur de retour
Type : System.String
DDL Creation script.
Exceptions
Exception | Condition |
---|---|
DacModelException | If TSqlObject is not a top level statement object. |