Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Adds objects to the model based on the contents of a TSqlScript object. The script should be valid TSql with no parse errors.
Namespace: Microsoft.SqlServer.Dac.Model
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
Syntax
'Declaration
Public Sub AddObjects ( _
inputScript As TSqlScript _
)
'Usage
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
)
Parameters
- inputScript
Type: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlScript
The TSqlScript to add.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If the supplied inputScript is null. |
| RemotingException | If communication with the TSqlObjectService fails. |