다음을 통해 공유


TSqlModel.AddObjects 메서드 (TSqlScript, TSqlObjectOptions)

Add Objects to the model based on the contents of a TSqlScript object, plus additional metadata defined by a TSqlObjectOptions 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, _
    options As TSqlObjectOptions _
)
‘사용 방법
Dim instance As TSqlModel 
Dim inputScript As TSqlScript 
Dim options As TSqlObjectOptions

instance.AddObjects(inputScript, options)
public void AddObjects(
    TSqlScript inputScript,
    TSqlObjectOptions options
)
public:
void AddObjects(
    TSqlScript^ inputScript, 
    TSqlObjectOptions^ options
)
member AddObjects : 
        inputScript:TSqlScript * 
        options:TSqlObjectOptions -> unit
public function AddObjects(
    inputScript : TSqlScript, 
    options : TSqlObjectOptions
)

매개 변수

예외

예외 조건
ArgumentNullException

If the supplied inputScript is null.

RemotingException

If communication with the TSqlObjectService fails.

참고 항목

참조

TSqlModel 클래스

AddObjects 오버로드

Microsoft.SqlServer.Dac.Model 네임스페이스