通过


DesignerDataConnection.Name 属性

定义

获取数据连接的名称。

public:
 property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String

属性值

数据连接的名称。

注解

Name 属性包含用于标识应用程序配置文件中的特定连接或数据连接列表的名称。 IsConfigured当属性为true时,Name属性用作 nameconnectionStrings 元素(ASP.NET 设置架构)配置元素中的属性,或从ConfigureConnection方法返回。

适用于