IVsDataExplorerNode.Name Property

Gets the name of the current node.

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

Syntax

ReadOnly Property Name As String

Dim instance As IVsDataExplorerNode
Dim value As String

value = instance.Name
string Name { get; }
property String^ Name {
    String^ get ();
}
function get Name () : String

Property Value

Type: System.String

A String value holding the name of the node.

Remarks

The Name is either a NodeId if the node is a static node, or a type/identifier combination for a specific selection node. The format of the name string is as follows:

Name := NodeId | TypeName[Identifier]

Examples

The following name identifies the authors user table for the SQL Server provider:

Table[pubs.dbo.authors]

If the Identifier in a Name includes brackets, the closing bracket is doubled to escape the bracket, as in the following example:

Table[pubs.dbo.my]]table]

The actual unescaped table identifier in this case is pubs.dbo.my]table.

Also, if any part of a name includes a slash (/) character, it must be doubled for escaping purposes, as shown in the following example:

Table[pubs.dbo.my//table]

The actual, unescaped table identifier in this case is pubs.dbo.my/table.

Permissions

See Also

Reference

IVsDataExplorerNode Interface

IVsDataExplorerNode Members

Microsoft.VisualStudio.Data.Services Namespace