Compartir a través de


DataViewManager.CreateDataViewHierarchy Method

Creates a new data view hierarchy object instance.

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

Syntax

'Declaration
Protected MustOverride Function CreateDataViewHierarchy ( _
    name As String, _
    provider As Guid, _
    connectionString As String, _
    encryptedString As Boolean _
) As Object
protected abstract Object CreateDataViewHierarchy(
    string name,
    Guid provider,
    string connectionString,
    bool encryptedString
)
protected:
virtual Object^ CreateDataViewHierarchy(
    String^ name, 
    Guid provider, 
    String^ connectionString, 
    bool encryptedString
) abstract
abstract CreateDataViewHierarchy : 
        name:string * 
        provider:Guid * 
        connectionString:string * 
        encryptedString:bool -> Object
protected abstract function CreateDataViewHierarchy(
    name : String, 
    provider : Guid, 
    connectionString : String, 
    encryptedString : boolean
) : Object

Parameters

  • provider
    Type: System.Guid

    Unique identifier of a DDEX provider.

  • connectionString
    Type: System.String

    An unencrypted or encrypted string containing connection information.

  • encryptedString
    Type: System.Boolean

    Indicates whether the connectionString parameter is encrypted.

Return Value

Type: System.Object
This method is internal to the DDEX infrastructure and is not intended to be called from your code.

.NET Framework Security

See Also

Reference

DataViewManager Class

Microsoft.VisualStudio.Data Namespace

GetDataViewHierarchy