Partager via


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

'Déclaration
ReadOnly Property Name As String
    Get
string Name { get; }
property String^ Name {
    String^ get ();
}
abstract Name : string
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.

.NET Framework Security

See Also

Reference

IVsDataExplorerNode Interface

Microsoft.VisualStudio.Data.Services Namespace