Share via


IConsoleView.TryConfigure Method

Configures the console view for the supplied view assembly configuration information.

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

Usage

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

returnValue = instance.TryConfigure(persistedConfigurationData)

Syntax

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

Parameters

  • persistedConfigurationData
    [in] Reference to a System.Xml.XmlElement object for the view assembly configuration information.

Return Value

true if the configuration is successful; otherwise false.

Remarks

A view assembly should present a user interface or return false if the user cancels 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

IConsoleView Interface
IConsoleView Members
Microsoft.ConfigurationManagement.AdminConsole Namespace