OrganizationServiceContextExtensions.Book<TResult> Method (OrganizationServiceContext, Entity)
Applies To: Dynamics CRM 2015
Schedules or "books" an appointment. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static TResult Book<TResult>(
this OrganizationServiceContext context,
Entity target
)
public:
generic<typename TResult>
[ExtensionAttribute]
static TResult Book(
OrganizationServiceContext^ context,
Entity^ target
)
static member Book<'TResult> :
context:OrganizationServiceContext *
target:Entity -> 'TResult
<ExtensionAttribute>
Public Shared Function Book(Of TResult) (
context As OrganizationServiceContext,
target As Entity
) As TResult
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
target
Type: Microsoft.Xrm.Sdk.EntityThe appointment to book.
Return Value
Type: TResult
Returns Guid.
Type Parameters
- TResult
Remarks
This is a method wrapper for the BookRequest and BookResponse 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