Partager via


Organization Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Contains information about an organization in a Microsoft Dynamics 365 deployment.

Namespace:   Microsoft.Xrm.Sdk.Deployment
Assembly:  Microsoft.Xrm.Sdk.Deployment (in Microsoft.Xrm.Sdk.Deployment.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Deployment.DeploymentObject
    Microsoft.Xrm.Sdk.Deployment.DeploymentEntity
      Microsoft.Xrm.Sdk.Deployment.Organization

Syntax

[DataContractAttribute(Name = "Organization", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
public class Organization : DeploymentEntity
<DataContractAttribute(Name := "Organization", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>
Public Class Organization
    Inherits DeploymentEntity

Constructors

Name Description
System_CAPS_pubmethod Organization()

Initializes a new instance of the Organization class.

Properties

Name Description
System_CAPS_pubproperty BaseCurrencyCode

Gets or sets the base currency code for the organization.

System_CAPS_pubproperty BaseCurrencyName

Gets or sets the base currency name for the organization.

System_CAPS_pubproperty BaseCurrencyPrecision

Gets or sets the number of decimal places that can be used for the base currency.

System_CAPS_pubproperty BaseCurrencySymbol

Gets or sets the base currency symbol for the organization.

System_CAPS_pubproperty BaseLanguageCode

Gets or sets the base language code for the organization.

System_CAPS_pubproperty DatabaseName

Gets or sets the database name for the organization.

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.(Inherited from DeploymentObject.)

System_CAPS_pubproperty FriendlyName

Gets or sets the display name, or long name, of the organization database.

System_CAPS_pubproperty Id

Gets the organization ID.

System_CAPS_pubproperty SqlCollation

Gets or sets the SQL collation property that the organization will use to sort and compare data characters.

System_CAPS_pubproperty SqlServerName

Gets or sets the name of the SQL server on which the organization database is installed.

System_CAPS_pubproperty SqmIsEnabled

Gets or sets whether information is being collected for the customer experience improvement program.

System_CAPS_pubproperty SrsUrl

Gets or sets the URL of the Microsoft SQL Server on which the Microsoft Dynamics 365 Connector for SQL Server Reporting Services is installed.

System_CAPS_pubproperty State

Gets or sets the organization state.

System_CAPS_pubproperty UniqueName

Gets or sets the unique name for the organization.

System_CAPS_pubproperty Version

Gets the current updated version of organization.

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.)

Remarks

The properties for an organization are set when the organization is created. Most of the properties can’t be updated after the fact. You can also use Windows PowerShell to access the same organization information.

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.Xrm.Sdk.Deployment Namespace
Deployment web service messages
Deployment entities and deployment configuration settings
Administer the deployment using Windows PowerShel

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright