ClientInfo.Model Property
Gets or sets the name of the model of the client device.
Namespace: Microsoft.UpdateServices.ClientServicing
Assembly: Microsoft.UpdateServices.ClientServicing (in Microsoft.UpdateServices.ClientServicing.dll)
Usage
Syntax
'Declaration
Public Property Model As String
public string Model { get; set; }
public:
property String^ Model {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_Model ()
/** @property */
public void set_Model (String value)
public function get Model () : String
public function set Model (value : String)
Property Value
The name of the model of the client device.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The value is null. |
ArgumentOutOfRangeException | The value is too long (greater than 64 characters). |
ArgumentException | The value contains illegal characters. |
Remarks
The maximum length of this string is 64 characters.
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
Target Platforms
Windows Server 2008, Windows Server 2003, Windows Server 2008 R2
See Also
Reference
ClientInfo Class
ClientInfo Members
Microsoft.UpdateServices.ClientServicing Namespace