ISqlServerObjectExplorerService.Execute Method (SqlConnectionStringBuilder, String[])

 

Executes the given programmability object. A parameter dialog is presented first, followed by the creation of a new connected editor window where the statement is then executed.

Namespace:   Microsoft.VisualStudio.Data.Tools
Assembly:  Microsoft.VisualStudio.Data.Tools.Design (in Microsoft.VisualStudio.Data.Tools.Design.dll)

Syntax

void Execute(
    SqlConnectionStringBuilder connection,
    params string[] name
)
void Execute(
    SqlConnectionStringBuilder^ connection,
    ... array<String^>^ name
)
abstract Execute : 
        connection:SqlConnectionStringBuilder *
        [<ParamArrayAttribute>] name:string[] -> unit
Sub Execute (
    connection As SqlConnectionStringBuilder,
    ParamArray name As String()
)

Parameters

  • name
    Type: System.String[]

    The full name of the object in its individual parts.

Exceptions

Exception Condition
ArgumentNullException

If any argument is null.

ArgumentException

If objectSchema or objectName are empty or contain only white space.

See Also

ISqlServerObjectExplorerService Interface
Microsoft.VisualStudio.Data.Tools Namespace

Return to top