DataViewManager.GetDataViewHierarchy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetDataViewHierarchy(Guid, String, Boolean) |
Retrieves a data view hierarchy with the specified DDEX provider and connection information. |
GetDataViewHierarchy(String, Guid, String, Boolean) |
Retrieves data view hierarchy object instance specified by the input parameters and sets the name of the hierarchy root node. |
GetDataViewHierarchy(Guid, String, Boolean)
Retrieves a data view hierarchy with the specified DDEX provider and connection information.
public:
System::Object ^ GetDataViewHierarchy(Guid provider, System::String ^ connectionString, bool encryptedString);
public object GetDataViewHierarchy (Guid provider, string connectionString, bool encryptedString);
member this.GetDataViewHierarchy : Guid * string * bool -> obj
Public Function GetDataViewHierarchy (provider As Guid, connectionString As String, encryptedString As Boolean) As Object
Parameters
- provider
- Guid
The identifier of a DDEX provider.
- connectionString
- String
An unencrypted or encrypted string containing connection information.
- encryptedString
- Boolean
Indicates whether the connectionString
parameter is encrypted.
Returns
Returns a data view hierarchy with the specified DDEX provider and connection information.
Exceptions
The connectionString
parameter is null.
The specified provider is not a registered DDEX provider.
Applies to
GetDataViewHierarchy(String, Guid, String, Boolean)
Retrieves data view hierarchy object instance specified by the input parameters and sets the name of the hierarchy root node.
public:
System::Object ^ GetDataViewHierarchy(System::String ^ name, Guid provider, System::String ^ connectionString, bool encryptedString);
public object GetDataViewHierarchy (string name, Guid provider, string connectionString, bool encryptedString);
member this.GetDataViewHierarchy : string * Guid * string * bool -> obj
Public Function GetDataViewHierarchy (name As String, provider As Guid, connectionString As String, encryptedString As Boolean) As Object
Parameters
- name
- String
Name of the data view hierarchy to retrieve.
- provider
- Guid
Unique identifier of a DDEX provider.
- connectionString
- String
An unencrypted or encrypted string containing connection information.
- encryptedString
- Boolean
Indicates whether the connectionString
parameter is encrypted.
Returns
Returns a specified data view hierarchy object instance.
Exceptions
The connectionString
parameter is null.
The specified provider is not a registered DDEX provider.