Compartir a través de


TSqlObject.GetScript Método

Generates a CREATE script from the objects AST.

Espacio de nombres:  Microsoft.SqlServer.Dac.Model
Ensamblado:  Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)

Sintaxis

'Declaración
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 devuelto

Tipo: System.String
DDL Creation script.

Excepciones

Excepción Condición
DacModelException

If TSqlObject is not a top level statement object.

Vea también

Referencia

TSqlObject Clase

Espacio de nombres Microsoft.SqlServer.Dac.Model