Método TSqlModel.AddObjects (String)
Adds objects to the model based on the contents of a TSql Script string. The script should consist of valid TSql DDL statements.
Namespace: Microsoft.SqlServer.Dac.Model
Assembly: Microsoft.SqlServer.Dac.Extensions (em Microsoft.SqlServer.Dac.Extensions.dll)
Sintaxe
'Declaração
Public Sub AddObjects ( _
inputScript As String _
)
'Uso
Dim instance As TSqlModel
Dim inputScript As String
instance.AddObjects(inputScript)
public void AddObjects(
string inputScript
)
public:
void AddObjects(
String^ inputScript
)
member AddObjects :
inputScript:string -> unit
public function AddObjects(
inputScript : String
)
Parâmetros
- inputScript
Tipo: System.String
Script containing TSql DDL statements.
Exceções
Exceção | Condição |
---|---|
ArgumentNullException | If the supplied inputScript is null. |
RemotingException | If communication with the TSqlObjectService fails. |