共用方式為


TimeInfo Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Specifies a set of time blocks with appointment information.

For the Web API the corresponding type is TimeInfo ComplexType.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Crm.Sdk.Messages.TimeInfo

Syntax

[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class TimeInfo : IExtensibleDataObject
<DataContractAttribute(Namespace := "https://schemas.microsoft.com/crm/2011/Contracts")>
Public NotInheritable Class TimeInfo
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_pubmethod TimeInfo()

Initializes a new instance of theTimeInfo class.

Properties

Name Description
System_CAPS_pubproperty ActivityStatusCode

Gets or sets the status of the activity.

System_CAPS_pubproperty CalendarId

Gets or sets the ID of the calendar for this block of time.

System_CAPS_pubproperty DisplayText

Gets or sets the display text shown in the calendar for the time block.

System_CAPS_pubproperty Effort

Gets or sets the amount of effort required for this block of time.

System_CAPS_pubproperty End

Gets or sets the end time for the block.

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty IsActivity

Gets or sets the value that indicates whether the block of time refers to an activity.

System_CAPS_pubproperty SourceId

Gets or sets the ID of the record referred to in the time block.

System_CAPS_pubproperty SourceTypeCode

Gets or sets the type of entity referred to in the time block.

System_CAPS_pubproperty Start

Gets or sets the start time for the block.

System_CAPS_pubproperty SubCode

Gets or sets information about the time block such as whether it is an appointment, break, or holiday.

System_CAPS_pubproperty TimeCode

Gets or sets the value that indicates whether the time block is available, busy, filtered or unavailable.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.

See Also

ExpandCalendarResponse
QueryMultipleSchedulesResponse
QueryScheduleResponse
Microsoft.Crm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright