SPFeatureUsageDefinition properties

The SPFeatureUsageDefinition type exposes the following members.

Properties

  Name Description
Public property Columns A list that provides the column name and SQL database type used to store data for this usage provider. (Overrides SPUsageProvider.Columns.)
Public property DaysToKeepData Gets or sets the number of days to keep data. (Inherited from SPUsageDefinition.)
Public property DaysToKeepDetailedData The number of days to keep data. (Inherited from SPUsageProvider.)
Public property DaysToKeepUsageFiles This property controls the number of days to keep detailed data. Must be less than DaysToKeepDetailedData. (Inherited from SPUsageDefinition.)
Public property DeploymentLocked (Inherited from SPPersistedObject.)
Public property Description A String with a detailed description of this type of SPUsageDefinition. (Overrides SPUsageDefinition.Description.)
Public property DisplayName Gets the display name that describes the persisted object instance within the administrative user interface. (Inherited from SPPersistedObject.)
Public property Enabled Gets or sets a value specifying whether usage logging has been enabled for this type. (Inherited from SPUsageDefinition.)
Public property EnableReceivers Gets or sets a value indicating whether usage receivers are enabled for this usage type. (Inherited from SPUsageDefinition.)
Public property Farm Gets the server farm where the object resides. (Inherited from SPPersistedObject.)
Public property Hidden Gets a Boolean value that determines whether the usage definition is shown in the user interface. (Inherited from SPUsageDefinition.)
Public property Id Gets or sets the GUID that is associated with the object. (Inherited from SPPersistedObject.)
Public propertyStatic member Local Gets an instance of this usage definition from the local farm. If an instance does not exists a new instance is returned.
Public property MaxTotalSizeInBytes This property stores the maximum SQL storage size for the data of this provider. (Inherited from SPUsageDefinition.)
Public property Name Gets or sets a name that is used to uniquely identify two objects that have the same parent and class. (Inherited from SPPersistedObject.)
Public property Parent Gets the parent in the logical hierarchy of the configuration object tree. (Inherited from SPPersistedObject.)
Public property Properties Gets metadata for the persisted object. (Inherited from SPPersistedObject.)
Public property ProvisionSchema Indicates whether this usage provider should have schema provision in the logging store. (Inherited from SPUsageProvider.)
Public property Receivers Gets this usage definition's collection of receivers. (Inherited from SPUsageDefinition.)
Public property RetentionPeriod The number of days to keep data for this provider. (Inherited from SPUsageProvider.)
Public property Status Gets or sets the status of the object that the class represents. (Inherited from SPPersistedObject.)
Public property TableName Primary unique name given to objects created in the logging store for this usage provider. (Overrides SPUsageProvider.TableName.)
Public property TypeName Gets the display name that describes the object type in the administrative user interface. (Inherited from SPPersistedObject.)
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Public property UsageDatabaseEnabled (Inherited from SPUsageDefinition.)
Public property UsageEntryType Contains the type of the SPUsageEntry class that corresponds to this SPUsageDefinition object. (Overrides SPUsageDefinition.UsageEntryType.)
Public property Version Gets a value that is incremented each time the object is updated. (Inherited from SPPersistedObject.)
Protected property WasCreated Gets a Boolean value that indicates whether the object is initialized and can be found in the database. (Inherited from SPPersistedObject.)

Top

See also

Reference

SPFeatureUsageDefinition class

Microsoft.SharePoint.Administration namespace