TSqlModel.AddObjects 메서드 (TSqlScript)
Adds objects to the model based on the contents of a TSqlScript object. The script should be valid TSql with no parse errors.
네임스페이스: Microsoft.SqlServer.Dac.Model
어셈블리: Microsoft.SqlServer.Dac.Extensions(Microsoft.SqlServer.Dac.Extensions.dll)
구문
‘선언
Public Sub AddObjects ( _
inputScript As TSqlScript _
)
‘사용 방법
Dim instance As TSqlModel
Dim inputScript As TSqlScript
instance.AddObjects(inputScript)
public void AddObjects(
TSqlScript inputScript
)
public:
void AddObjects(
TSqlScript^ inputScript
)
member AddObjects :
inputScript:TSqlScript -> unit
public function AddObjects(
inputScript : TSqlScript
)
매개 변수
- inputScript
유형: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlScript
The TSqlScript to add.
예외
예외 | 조건 |
---|---|
ArgumentNullException | If the supplied inputScript is null. |
RemotingException | If communication with the TSqlObjectService fails. |