Click or drag to resize

Territory Class

Territory represents sales regions.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceTerritory

Namespace: Crm.MSCrmService
Assembly: Scripting (in Scripting.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Territory : Entity, INotifyPropertyChanging, 
	INotifyPropertyChanged

The Territory type exposes the following members.

Constructors
 NameDescription
Public methodTerritory Default Constructor.
Top
Properties
 NameDescription
Public propertyAttributes
(Inherited from Entity)
Public propertyCreatedBy Unique identifier of the user who created the territory.
Public propertyCreatedOn Date and time when the territory was created.
Public propertyCreatedOnBehalfBy Unique identifier of the delegate user who created the territory.
Public propertyDescription Description of the territory.
Public propertyEntityImage The default image for the entity.
Public propertyEntityImage_Timestamp 
Public propertyEntityImage_URL 
Public propertyEntityImageId For internal use only.
Public propertyEntityState
(Inherited from Entity)
Public propertyExchangeRate Exchange rate for the currency associated with the territory with respect to the base currency.
Public propertyExtensionData
(Inherited from Entity)
Public propertyFormattedValues
(Inherited from Entity)
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyId
(Overrides Entity.Id)
Public propertyImportSequenceNumber Unique identifier of the data import or data migration that created this record.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertylk_territory_createdonbehalfby N:1 lk_territory_createdonbehalfby
Public propertylk_territory_modifiedonbehalfby N:1 lk_territory_modifiedonbehalfby
Public propertylk_territorybase_createdby N:1 lk_territorybase_createdby
Public propertylk_territorybase_modifiedby N:1 lk_territorybase_modifiedby
Public propertyLogicalName
(Inherited from Entity)
Public propertyManagerId Unique identifier of the manager of the territory.
Public propertyModifiedBy Unique identifier of the user who last modified the territory.
Public propertyModifiedOn Date and time when the territory was last modified.
Public propertyModifiedOnBehalfBy Unique identifier of the delegate user who last modified the territory.
Public propertyName Name of the territory.
Public propertyorganization_territories N:1 organization_territories
Public propertyOrganizationId Unique identifier of the organization associated with the territory.
Public propertyOverriddenCreatedOn Date and time that the record was migrated.
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyRowVersion
(Inherited from Entity)
Public propertysystem_user_territories N:1 system_user_territories
Public propertyterritory_accounts 1:N territory_accounts
Public propertyTerritory_AsyncOperations 1:N Territory_AsyncOperations
Public propertyTerritory_BulkDeleteFailures 1:N Territory_BulkDeleteFailures
Public propertyterritory_connections1 1:N territory_connections1
Public propertyterritory_connections2 1:N territory_connections2
Public propertyTerritory_DuplicateBaseRecord 1:N Territory_DuplicateBaseRecord
Public propertyTerritory_DuplicateMatchingRecord 1:N Territory_DuplicateMatchingRecord
Public propertyterritory_principalobjectattributeaccess 1:N territory_principalobjectattributeaccess
Public propertyTerritory_ProcessSessions 1:N Territory_ProcessSessions
Public propertyTerritory_SyncErrors 1:N Territory_SyncErrors
Public propertyterritory_system_users 1:N territory_system_users
Public propertyTerritoryId Unique identifier of the territory.
Public propertyTransactionCurrency_Territory N:1 TransactionCurrency_Territory
Public propertyTransactionCurrencyId Unique identifier of the currency associated with the territory.
Public propertyuserentityinstancedata_territory 1:N userentityinstancedata_territory
Public propertyVersionNumber Version number of the territory.
Top
Methods
 NameDescription
Public methodContains
(Inherited from Entity)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAttributeValue``1
(Inherited from Entity)
Protected methodGetFormattedAttributeValue
(Inherited from Entity)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRelatedEntities``1
(Inherited from Entity)
Protected methodGetRelatedEntity``1
(Inherited from Entity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSetAttributeValue
(Inherited from Entity)
Protected methodSetRelatedEntities``1
(Inherited from Entity)
Protected methodSetRelatedEntity``1
(Inherited from Entity)
Public methodToEntity``1
(Inherited from Entity)
Public methodToEntityReference
(Inherited from Entity)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetAttributeValue``1
(Inherited from Entity)
Top
Events
Fields
See Also