ActivityType ActivityType ActivityType Class

Definition

This object, member, or enumeration is deprecated and is not intended to be used in your code. SharePoint 2013 includes the following APIs for working with feeds: .NET client, JavaScript, REST, and server. See Work with social feeds in SharePoint 2013 to choose the API for your specific feed-related programming tasks. Defines the display of ActivityEvent objects that belong to this type.

public ref class ActivityType
public class ActivityType
Public Class ActivityType
Inheritance
ActivityTypeActivityTypeActivityType

Remarks

ActivityEvent objects contain data that offer flexibility in how they can be formatted and displayed by means of the ActivityTemplate objects stored in an ActivityType. The ActivityTypeNameLocStringResourceFile property of this class should contain the name of the resource file that contains the localized strings that you are using to display activity events in this type. The ActivityTypeNameLocStringName property should refer to the name of the entry in your resource file whose value defines how this type is displayed. For instructions on how to create a resource file, See Microsoft SharePoint Server 2010: Activity Feeds Console Application

Properties

ActivityTemplates ActivityTemplates ActivityTemplates

Gets a collection of ActivityTemplate objects for this ActivityType.

ActivityTypeId ActivityTypeId ActivityTypeId

Gets the identifier for this ActivityType.

ActivityTypeName ActivityTypeName ActivityTypeName

Gets or sets the name of this ActivityType.

ActivityTypeNameLocStringName ActivityTypeNameLocStringName ActivityTypeNameLocStringName

Gets or sets a value for the name of the localized string in the resource file that you are using to define the display for ActivityEvent objects in this ActivityType.

ActivityTypeNameLocStringResourceFile ActivityTypeNameLocStringResourceFile ActivityTypeNameLocStringResourceFile

Gets or sets a value for the name of the resource file that contains the localized string or strings that are used to define the display for this event.

AllowRollup AllowRollup AllowRollup
ApplicationId ApplicationId ApplicationId

Gets the application identifier for the ActivityApplication that contains this ActivityType.

CreatedBy CreatedBy CreatedBy

Gets a string value representing the name of the entity that created this ActivityType.

CreationTime CreationTime CreationTime

Gets the DateTime object representing the time when this ActivityType was created.

Description Description Description

Gets or sets a description for this ActivityType.

GatheringInterval GatheringInterval GatheringInterval
IsConsolidated IsConsolidated IsConsolidated
IsPublished IsPublished IsPublished

Gets or sets a value indicating whether this ActivityType has been published.

IsSoftDeleted IsSoftDeleted IsSoftDeleted

Gets or sets a value indicating whether this ActivityType has been marked for deletion in the database.

ItemTimeToLive ItemTimeToLive ItemTimeToLive
LastUpdateTime LastUpdateTime LastUpdateTime

Gets or sets a DateTime indicating when this ActivityType was last updated.

ModifiedBy ModifiedBy ModifiedBy

Gets a string value representing the name of the entity that created this ActivityType.

PartitionId PartitionId PartitionId

Gets the identifier of the current data partition.

Methods

Commit() Commit() Commit()

Commits all changes to this ActivityType to the database.

Dispose() Dispose() Dispose()

Releases unmanaged resources used by this ActivityType.

Refresh(Boolean) Refresh(Boolean) Refresh(Boolean)

Repopulates this ActivityType with data from the database.

Remove() Remove() Remove()

This method is not implemented.

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to