Partager via


ConfigMgrDriverCatalogRequest.AddDevice Method (String, String, Boolean)

 

Adds a device to the driver catalog request.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Messages
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public void AddDevice(
    string deviceId,
    string hardwareId,
    bool compatible
)
public:
void AddDevice(
    String^ deviceId,
    String^ hardwareId,
    bool compatible
)
Public Sub AddDevice (
    deviceId As String,
    hardwareId As String,
    compatible As Boolean
)

Parameters

  • hardwareId
    Type: System.String

    Hardware ID. If deviceId has already been added, the hardware ID is added to the existing device.

See Also

AddDevice Overload
ConfigMgrDriverCatalogRequest Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top