TSqlObject.GetScript 메서드
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. |