DataConnectionProperties.ShouldPersistProperty(String) Method
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.
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.