RetrieveCompaniesRequest Class

 

Applies To: Dynamics Marketing

Contains the data to retrieve a list of companies.

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

Inheritance Hierarchy

System.Object
  Microsoft.Dynamics.Marketing.SDK.Common.SdkMessage
    Microsoft.Dynamics.Marketing.SDK.Common.SdkRequest
      Microsoft.Dynamics.Marketing.SDK.Messages.Company.RetrieveCompaniesRequest

Syntax

[DataContractAttribute]
public class RetrieveCompaniesRequest : SdkRequest
[DataContractAttribute]
public ref class RetrieveCompaniesRequest : SdkRequest
[<DataContractAttribute>]
type RetrieveCompaniesRequest = 
    class
        inherit SdkRequest
    end
<DataContractAttribute>
Public Class RetrieveCompaniesRequest
    Inherits SdkRequest

Constructors

Name Description
System_CAPS_pubmethod RetrieveCompaniesRequest()

Initializes a new instance of the RetrieveCompaniesRequest class.

Properties

Name Description
System_CAPS_pubproperty BelongsToCompanyId

Gets or sets the ID of the company the retrieved companies belongs to.

System_CAPS_pubproperty FromUpdateDate

Gets or sets the value indicating the first update required by the company to be included in the result list, expressed as the Coordinated Universal Time (UTC).

System_CAPS_pubproperty IncludeDeletedCompanies

Gets or sets a value indicating whether to include deleted items.

System_CAPS_pubproperty MaxNumberOfRecordsToGet

Gets or sets the maximum number of records to retrieve.

System_CAPS_pubproperty OriginOfChange

Gets or sets the value of origin of change required by the company to be part of the results list.

System_CAPS_pubproperty SkipNumberOfRecords

Gets or sets the number of records, starting from the beginning of the results, to not return in the response.

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_protmethod ToBrokeredMessage()

Creates a new brokered message with the compressed and serialized SdkMessage.(Inherited from SdkMessage.)

System_CAPS_pubmethod ToBrokeredMessage(String)

Creates a new brokered message with the compressed and serialized SdkMessage.(Inherited from SdkRequest.)

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

RetrieveCompaniesResponse
Microsoft.Dynamics.Marketing.SDK.Messages.Company Namespace
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