Share via


DataConnectionProperties.ShouldPersistProperty(String) Method

Definition

Indicates whether a property should be persisted when building a connection string.

protected:
 virtual bool ShouldPersistProperty(System::String ^ name);
protected virtual bool ShouldPersistProperty (string name);
abstract member ShouldPersistProperty : string -> bool
override this.ShouldPersistProperty : string -> bool
Protected Overridable Function ShouldPersistProperty (name As String) As Boolean

Parameters

name
String

The name of a property.

Returns

false if the specified property is not recognized, is not set, or if it is set to the default value; otherwise, true.

Exceptions

The name parameter is null.

Applies to