ProviderConfigurationSettings.Validate Method (String)


When overridden in a derived class, validates the provider configuration settings.

Namespace:   Microsoft.Web.Management.Client
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

public abstract bool Validate(
	out string message


Type: System.String

The validation message to display.

Return Value

Type: System.Boolean

true if the validation was successful; otherwise, false.

The derived class implements this method to return a Boolean value and a message that indicates the validation of the settings. Implementers should ensure that the overridden method returns a value and message to indicate whether the validation was successful and a message that indicates what validation checks failed.

For an example of this method, see the example for the ProviderConfigurationSettings class.

Return to top