Partager via


ViewDescriptionBase.TryConfigure Method

Configures the view description base, calling the view assembly for configuration information.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim instance As ViewDescriptionBase
Dim persistedConfigurationData As XmlElement
Dim returnValue As Boolean

returnValue = instance.TryConfigure(persistedConfigurationData)

Syntax

'Declaration
Public Overridable Function TryConfigure ( _
    ByRef persistedConfigurationData As XmlElement _
) As Boolean
public virtual bool TryConfigure (
    ref XmlElement persistedConfigurationData
)
public:
virtual bool TryConfigure (
    XmlElement^% persistedConfigurationData
)
public boolean TryConfigure (
    /** @ref */ XmlElement persistedConfigurationData
)

Parameters

  • persistedConfigurationData
    [in] Reference to a System.Xml.XmlElement object.

Return Value

true if configuration succeeds; otherwise false.

Remarks

The view assembly should raise a user interface or return false if the user has canceled the operation.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

ViewDescriptionBase Class
ViewDescriptionBase Members
Microsoft.ConfigurationManagement.AdminConsole Namespace