Company Class

 

Applies To: Dynamics Marketing

Represents a company in Microsoft Dynamics Marketing.

Namespace:   Microsoft.Dynamics.Marketing.SDK.Model
Assembly:  Microsoft.Dynamics.Marketing.SDK (in Microsoft.Dynamics.Marketing.SDK.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Dynamics.Marketing.SDK.Model.Company

Syntax

[KnownTypeAttribute(typeof(Category))]
[DataContractAttribute]
public class Company
[KnownTypeAttribute((Category^::typeid))]
[DataContractAttribute]
public ref class Company 
[<KnownTypeAttribute(typeof(Category))>]
[<DataContractAttribute>]
type Company = class end
<KnownTypeAttribute(GetType(Category))>
<DataContractAttribute>
Public Class Company

Constructors

Name Description
System_CAPS_pubmethod Company()

Initializes a new instance of theCompany class.

Properties

Name Description
System_CAPS_pubproperty Address

Gets or sets the company’s address.

System_CAPS_pubproperty BelongsToCompany

Gets or sets the company that the user belongs to.

System_CAPS_pubproperty City

Gets or sets the company’s city.

System_CAPS_pubproperty CompanyDescription

Gets or sets the company description.

This property is labeled as 'Memo' in the web application user interface and in the OData CSDL.

System_CAPS_pubproperty CountryRegion

Gets or sets the company’s country/region.

System_CAPS_pubproperty CustomFields

Gets or sets the custom fields.

System_CAPS_pubproperty DoubleOptIn

System_CAPS_pubproperty Fax

Gets or sets the company’s fax number.

System_CAPS_pubproperty Id

Gets or sets the company’s ID.

System_CAPS_pubproperty IsClient

Gets or sets a value indicating whether it’s a client company.

System_CAPS_pubproperty IsMarketing

Gets or sets a value indicating whether it’s a marketing company.

System_CAPS_pubproperty IsVendor

Gets or sets a value indicating whether it’s a vendor company.

System_CAPS_pubproperty Name

Gets or sets the company’s name.

System_CAPS_pubproperty OriginOfChanges

Gets or sets the origin of change.

System_CAPS_pubproperty Phone

Gets or sets the company’s phone number.

System_CAPS_pubproperty PostalCode

Gets or sets the company’s postal code.

System_CAPS_pubproperty StateProvince

Gets or sets the company’s state or province.

System_CAPS_pubproperty Status

Gets or sets the status of the entity record.

System_CAPS_pubproperty UpdateDate

Gets or sets a value that indicates when the changes to the company came from.

System_CAPS_pubproperty Url

Gets or sets the company’s URL.

System_CAPS_pubproperty Version

Gets or sets the version.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(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

Microsoft.Dynamics.Marketing.SDK.Model
Developer overview of Microsoft Dynamics Marketing
Manage leads, contacts, and company
Getting started with the SDK
Quick start with sample code
Sample: Create, read, update, and delete a company (including UDF custom fields)
Assembly included in the Microsoft Dynamics Marketing SDK
Web service and assembly reference

Return to top