Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)
Usage
Visual Basic |
---|
Dim console As Console Dim dialogData As SmsDialogData Dim connectionManager As ConnectionManagerBase Dim snapIn As SmsSnapInBase Dim parentObject As IResultObject Dim resultObject As IResultObject Dim namedValues As SmsNamedValuesDictionary Dim objectClass As String Dim nodeDescription As Object Dim selectionSharedData As SharedData Dim dataUpdatedDelegate As PropertyDataUpdated Dim saveXmlTemplate As Boolean UtilityClass.CreateAndShowForm(console, dialogData, connectionManager, snapIn, parentObject, resultObject, namedValues, objectClass, nodeDescription, selectionSharedData, dataUpdatedDelegate, saveXmlTemplate) |
Syntax
Visual Basic |
---|
Public Shared Sub CreateAndShowForm ( _ console As Console, _ dialogData As SmsDialogData, _ connectionManager As ConnectionManagerBase, _ snapIn As SmsSnapInBase, _ parentObject As IResultObject, _ resultObject As IResultObject, _ namedValues As SmsNamedValuesDictionary, _ objectClass As String, _ nodeDescription As Object, _ selectionSharedData As SharedData, _ dataUpdatedDelegate As PropertyDataUpdated, _ saveXmlTemplate As Boolean _ ) |
C# |
---|
public static void CreateAndShowForm ( Console console, SmsDialogData dialogData, ConnectionManagerBase connectionManager, SmsSnapInBase snapIn, IResultObject parentObject, IResultObject resultObject, SmsNamedValuesDictionary namedValues, string objectClass, Object nodeDescription, SharedData selectionSharedData, PropertyDataUpdated dataUpdatedDelegate, bool saveXmlTemplate ) |
C++ |
---|
public: static void CreateAndShowForm ( Console^ console, SmsDialogData^ dialogData, ConnectionManagerBase^ connectionManager, SmsSnapInBase^ snapIn, IResultObject^ parentObject, IResultObject^ resultObject, SmsNamedValuesDictionary^ namedValues, String^ objectClass, Object^ nodeDescription, SharedData^ selectionSharedData, PropertyDataUpdated^ dataUpdatedDelegate, bool saveXmlTemplate ) |
J# |
---|
public static void CreateAndShowForm ( Console console, SmsDialogData dialogData, ConnectionManagerBase connectionManager, SmsSnapInBase snapIn, IResultObject parentObject, IResultObject resultObject, SmsNamedValuesDictionary namedValues, String objectClass, Object nodeDescription, SharedData selectionSharedData, PropertyDataUpdated dataUpdatedDelegate, boolean saveXmlTemplate ) |
JScript |
---|
public static function CreateAndShowForm ( console : Console, dialogData : SmsDialogData, connectionManager : ConnectionManagerBase, snapIn : SmsSnapInBase, parentObject : IResultObject, resultObject : IResultObject, namedValues : SmsNamedValuesDictionary, objectClass : String, nodeDescription : Object, selectionSharedData : SharedData, dataUpdatedDelegate : PropertyDataUpdated, saveXmlTemplate : boolean ) |
Parameters
- console
-
[in] Microsoft.ManagementConsole.Advanced.Console object that represents the Microsoft Management Console.
- dialogData
-
[in] SmsDialogData object for the form.
- connectionManager
-
[in] ConnectionManagerBase object.
- snapIn
-
[in] SmsSnapInBase object that represents the Configuration Manager console snap-in.
- parentObject
-
[in] IResultObject interface for the parent of the snap-in.
- resultObject
-
[in] IResultObject interface for the result object for the snap-in.
- namedValues
-
[in] SmsNamedValuesDictionary object for the form.
- objectClass
-
[in] Name of the class that is associated with the form.
- nodeDescription
-
[in] System.Object instance for the node description.
- selectionSharedData
-
[in] Microsoft.ManagementConsole.SharedData object for the selection.
- dataUpdatedDelegate
-
[in] PropertyDataUpdated delegate.
- saveXmlTemplate
-
[in] true to save the form data to the XML template.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException |
The dialogData parameter cannot be null. |