/// <summary>
 /// Constructs a new <see cref="DeviceManagementExchangeConnectorSyncRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="syncType">A syncType parameter for the OData method call.</param>
 public DeviceManagementExchangeConnectorSyncRequestBuilder(
     string requestUrl,
     IBaseClient client,
     DeviceManagementExchangeConnectorSyncType syncType)
     : base(requestUrl, client)
 {
     this.SetParameter("syncType", syncType, false);
 }
예제 #2
0
 /// <summary>
 /// Gets the request builder for DeviceManagementExchangeConnectorSync.
 /// </summary>
 /// <returns>The <see cref="IDeviceManagementExchangeConnectorSyncRequestBuilder"/>.</returns>
 public IDeviceManagementExchangeConnectorSyncRequestBuilder Sync(
     DeviceManagementExchangeConnectorSyncType syncType)
 {
     return(new DeviceManagementExchangeConnectorSyncRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.sync"),
                this.Client,
                syncType));
 }