OrganizationServiceContextExtensions.QuerySchedule<TResult> Method (OrganizationServiceContext, Guid, DateTime, DateTime, Object)
Applies To: Dynamics CRM 2015
Searches the specified resource for an available time slot matching the specified parameters. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static TResult QuerySchedule<TResult>(
this OrganizationServiceContext context,
Guid resourceId,
DateTime start,
DateTime end,
object timeCodes
)
public:
generic<typename TResult>
[ExtensionAttribute]
static TResult QuerySchedule(
OrganizationServiceContext^ context,
Guid resourceId,
DateTime start,
DateTime end,
Object^ timeCodes
)
static member QuerySchedule<'TResult> :
context:OrganizationServiceContext *
resourceId:Guid *
start:DateTime *
end:DateTime *
timeCodes:Object -> 'TResult
<ExtensionAttribute>
Public Shared Function QuerySchedule(Of TResult) (
context As OrganizationServiceContext,
resourceId As Guid,
start As Date,
end As Date,
timeCodes As Object
) As TResult
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- resourceId
Type: System.Guid
- start
Type: System.DateTime
- end
Type: System.DateTime
- timeCodes
Type: System.Object
Return Value
Type: TResult
Returns String.
Type Parameters
- TResult
Remarks
This is a method wrapper for the QueryScheduleRequest and QueryScheduleResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015
Return to top
© 2017 Microsoft. All rights reserved. Copyright