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)

Usage

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

returnValue = instance.GetDevices(startingIndex, count)

Syntax

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

Parameters

  • 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.

Platforms

Development Platforms

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

See Also

Reference

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

Copyright © 2012 by Microsoft Corporation. All rights reserved.