ISqlServerObjectExplorerService.ViewData Method (SqlConnectionStringBuilder, SqlServerObjectType, String[])

 

Opens an editable data grid for the object's data.

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

Syntax

void ViewData(
    SqlConnectionStringBuilder connection,
    SqlServerObjectType objectType,
    params string[] name
)
void ViewData(
    SqlConnectionStringBuilder^ connection,
    SqlServerObjectType objectType,
    ... array<String^>^ name
)
abstract ViewData : 
        connection:SqlConnectionStringBuilder *
        objectType:SqlServerObjectType *
        [<ParamArrayAttribute>] name:string[] -> unit
Sub ViewData (
    connection As SqlConnectionStringBuilder,
    objectType As SqlServerObjectType,
    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.

NotSupportedException

If the objectType is not supported.

See Also

ISqlServerObjectExplorerService Interface
Microsoft.VisualStudio.Data.Tools Namespace

Return to top