Share via


ProviderFeature.ConnectionStringAttributeName Property

Definition

Gets the name of the connection string to the provider database.

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

Property Value

The connection string. The default is Empty, which indicates that this property is not set.

Remarks

If the configuration provider must connect to a database, the database may require that the connection string name be included in the definition of the provider. Set the ConnectionStringRequired property to true and the ConnectionStringAttributeName property value to a valid connection string to connect to the database.

Applies to

See also