Loads property pages by using .NET reflection. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
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

Visual Basic
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
C#
public static bool LoadPropertyPages (
		SmsDialogData dialogData,
		IResultObject parentObject,
		IResultObject mgmtObject,
		ConnectionManagerBase connectionManager,
		SmsSnapInBase snapIn,
		PropertyPageCollection propertyPageCollection,
		string displayName,
		PropertyDataUpdated dataUpdatedDelegate,
		SmsNamedValuesDictionary namedValues
)
C++
public:
static bool LoadPropertyPages (
		SmsDialogData^ dialogData, 
		IResultObject^ parentObject, 
		IResultObject^ mgmtObject, 
		ConnectionManagerBase^ connectionManager, 
		SmsSnapInBase^ snapIn, 
		PropertyPageCollection^ propertyPageCollection, 
		String^ displayName, 
		PropertyDataUpdated^ dataUpdatedDelegate, 
		SmsNamedValuesDictionary^ namedValues
)
J#
public static boolean LoadPropertyPages (
		SmsDialogData dialogData, 
		IResultObject parentObject, 
		IResultObject mgmtObject, 
		ConnectionManagerBase connectionManager, 
		SmsSnapInBase snapIn, 
		PropertyPageCollection propertyPageCollection, 
		String displayName, 
		PropertyDataUpdated dataUpdatedDelegate, 
		SmsNamedValuesDictionary namedValues
)
JScript
public static function LoadPropertyPages (
		dialogData : SmsDialogData, 
		parentObject : IResultObject, 
		mgmtObject : IResultObject, 
		connectionManager : ConnectionManagerBase, 
		snapIn : SmsSnapInBase, 
		propertyPageCollection : PropertyPageCollection, 
		displayName : String, 
		dataUpdatedDelegate : PropertyDataUpdated, 
		namedValues : SmsNamedValuesDictionary
) : boolean

Parameters

dialogData

[in] SmsDialogData object.

parentObject

[in] IResultObject interface for the parent of the property pages.

mgmtObject

[in] IResultObject interface for the result object for the property pages.

connectionManager

[in] ConnectionManagerBase object.

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.

dataUpdatedDelegate

[in] PropertyDataUpdated delegate.

namedValues

[in] SmsNamedValuesDictionary object 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