ProviderFeature.ConnectionStringAttributeName Property
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.
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.