IMobileDeviceService.GetDevices Method

[IMobileDeviceService.GetDevices is no longer available for use as of Windows Server 2012 Essentials.] Retrieves a collection of device information.

Namespace: Microsoft.WindowsServerSolutions.Mobile.Web.Devices
Assembly: MobileWeb (in MobileWeb.dll)


Dim instance As IMobileDeviceService
Dim startingIndex As Integer
Dim count As Integer
Dim returnValue As PartialCollection(Of DeviceInfo)

returnValue = instance.GetDevices(startingIndex, count)


<OperationContractAttribute> _
Function GetDevices ( _
    startingIndex As Integer, _
    count As Integer _
) As PartialCollection(Of DeviceInfo)
PartialCollection<DeviceInfo> GetDevices (
    int startingIndex,
    int count
PartialCollection<DeviceInfo^>^ GetDevices (
    int startingIndex, 
    int count
/** @attribute OperationContractAttribute() */ 
PartialCollection<DeviceInfo> GetDevices (
    int startingIndex, 
    int count
function GetDevices (
    startingIndex : int, 
    count : int
) : PartialCollection<DeviceInfo>


  • startingIndex
    Index in the collection to start retrieving data.
  • count
    Maximum number of items to return.

Return Value

Returns PartialCollection.

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.


Development Platforms

Windows Server 2008 R2 x64, Windows 7 x64, Windows Server 2008 x64, Windows Vista x64

See Also


IMobileDeviceService Interface
IMobileDeviceService Members
Microsoft.WindowsServerSolutions.Mobile.Web.Devices Namespace

Copyright © 2012 by Microsoft Corporation. All rights reserved.