Método TSqlObject.GetScript
Generates a CREATE script from the objects AST.
Namespace: Microsoft.SqlServer.Dac.Model
Assembly: Microsoft.SqlServer.Dac.Extensions (em Microsoft.SqlServer.Dac.Extensions.dll)
Sintaxe
'Declaração
Public Function GetScript As String
'Uso
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
Valor de retorno
Tipo: System.String
DDL Creation script.
Exceções
Exceção | Condição |
---|---|
DacModelException | If TSqlObject is not a top level statement object. |