Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)
Usage
Visual Basic |
---|
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 Dim returnValue As Form returnValue = UtilityClass.CreateForm(dialogData, connectionManager, snapIn, parentObject, resultObject, namedValues, objectClass, nodeDescription, selectionSharedData, dataUpdatedDelegate, saveXmlTemplate) |
Syntax
Visual Basic |
---|
Public Shared Function CreateForm ( _ 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 _ ) As Form |
C# |
---|
public static Form CreateForm ( 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 Form^ CreateForm ( 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 Form CreateForm ( 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 CreateForm ( dialogData : SmsDialogData, connectionManager : ConnectionManagerBase, snapIn : SmsSnapInBase, parentObject : IResultObject, resultObject : IResultObject, namedValues : SmsNamedValuesDictionary, objectClass : String, nodeDescription : Object, selectionSharedData : SharedData, dataUpdatedDelegate : PropertyDataUpdated, saveXmlTemplate : boolean ) : Form |
Parameters
- 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. |
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.