TSqlObject.TryGetScript 메서드
Attempts to generate a script from the object’s AST.
네임스페이스: Microsoft.SqlServer.Dac.Model
어셈블리: Microsoft.SqlServer.Dac.Extensions(Microsoft.SqlServer.Dac.Extensions.dll)
구문
‘선언
Public Function TryGetScript ( _
<OutAttribute> ByRef objectScript As String _
) As Boolean
‘사용 방법
Dim instance As TSqlObject
Dim objectScript As String
Dim returnValue As Boolean
returnValue = instance.TryGetScript(objectScript)
public bool TryGetScript(
out string objectScript
)
public:
bool TryGetScript(
[OutAttribute] String^% objectScript
)
member TryGetScript :
objectScript:string byref -> bool
public function TryGetScript(
objectScript : String
) : boolean
매개 변수
- objectScript
유형: System.String%
The create script generated for the object.
반환 값
유형: System.Boolean
true if DDL creation script created; otherwise, false.