Generates a CREATE script from the objects AST.
命名空间: Microsoft.SqlServer.Dac.Model
程序集: Microsoft.SqlServer.Dac.Extensions(在 Microsoft.SqlServer.Dac.Extensions.dll 中)
语法
声明
Public Function GetScript As String
用法
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
返回值
类型:System.String
DDL Creation script.
异常
| 异常 | 条件 |
|---|---|
| DacModelException | If TSqlObject is not a top level statement object. |