Partilhar via


UtilityClass.LoadPropertyPages Method

Loads property pages by using .NET reflection.

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

Usage

'Usage
Dim dialogData As SmsDialogData
Dim parentObject As IResultObject
Dim mgmtObject As IResultObject
Dim connectionManager As ConnectionManagerBase
Dim snapIn As SmsSnapInBase
Dim propertyPageCollection As PropertyPageCollection
Dim displayName As String
Dim dataUpdatedDelegate As PropertyDataUpdated
Dim namedValues As SmsNamedValuesDictionary
Dim returnValue As Boolean

returnValue = UtilityClass.LoadPropertyPages(dialogData, parentObject, mgmtObject, connectionManager, snapIn, propertyPageCollection, displayName, dataUpdatedDelegate, namedValues)

Syntax

'Declaration
Public Shared Function LoadPropertyPages ( _
    dialogData As SmsDialogData, _
    parentObject As IResultObject, _
    mgmtObject As IResultObject, _
    connectionManager As ConnectionManagerBase, _
    snapIn As SmsSnapInBase, _
    propertyPageCollection As PropertyPageCollection, _
    displayName As String, _
    dataUpdatedDelegate As PropertyDataUpdated, _
    namedValues As SmsNamedValuesDictionary _
) As Boolean
public static bool LoadPropertyPages (
    SmsDialogData dialogData,
    IResultObject parentObject,
    IResultObject mgmtObject,
    ConnectionManagerBase connectionManager,
    SmsSnapInBase snapIn,
    PropertyPageCollection propertyPageCollection,
    string displayName,
    PropertyDataUpdated dataUpdatedDelegate,
    SmsNamedValuesDictionary namedValues
)
public:
static bool LoadPropertyPages (
    SmsDialogData^ dialogData, 
    IResultObject^ parentObject, 
    IResultObject^ mgmtObject, 
    ConnectionManagerBase^ connectionManager, 
    SmsSnapInBase^ snapIn, 
    PropertyPageCollection^ propertyPageCollection, 
    String^ displayName, 
    PropertyDataUpdated^ dataUpdatedDelegate, 
    SmsNamedValuesDictionary^ namedValues
)
public static boolean LoadPropertyPages (
    SmsDialogData dialogData, 
    IResultObject parentObject, 
    IResultObject mgmtObject, 
    ConnectionManagerBase connectionManager, 
    SmsSnapInBase snapIn, 
    PropertyPageCollection propertyPageCollection, 
    String displayName, 
    PropertyDataUpdated dataUpdatedDelegate, 
    SmsNamedValuesDictionary namedValues
)
public static function LoadPropertyPages (
    dialogData : SmsDialogData, 
    parentObject : IResultObject, 
    mgmtObject : IResultObject, 
    connectionManager : ConnectionManagerBase, 
    snapIn : SmsSnapInBase, 
    propertyPageCollection : PropertyPageCollection, 
    displayName : String, 
    dataUpdatedDelegate : PropertyDataUpdated, 
    namedValues : SmsNamedValuesDictionary
) : boolean

Parameters

  • parentObject
    [in] IResultObject interface for the parent of the property pages.
  • mgmtObject
    [in] IResultObject interface for the result object for the property pages.
  • snapIn
    [in] SmsSnapInBase object that represents the Configuration Manager console snap-in.
  • propertyPageCollection
    [in] Microsoft.ManagementConsole.PropertyPageCollection object for the property pages to load.
  • displayName
    [in] Display name for the property pages.

Return Value

true if the property pages are loaded; otherwise false.

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

UtilityClass Class
UtilityClass Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
PropertyDataUpdated Delegate
SmsDialogData Class
SmsSnapInBase Class
ConnectionManagerBase
IResultObject
SmsNamedValuesDictionary