共用方式為


Server Class

 

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

Contains information about a server 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.Server

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod Server()

Initializes a new instance of the Server class.

Properties

Name Description
System_CAPS_pubproperty ExtensionData

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

System_CAPS_pubproperty FullName

Gets or sets the full name of the server.

System_CAPS_pubproperty Id

Gets the organization ID.

System_CAPS_pubproperty Name

Gets the name of the server.

System_CAPS_pubproperty Roles

Gets the set of roles configured for the server.

System_CAPS_pubproperty State

Gets or sets the state of the server.

System_CAPS_pubproperty Version

Gets the version number of the server.

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 a server are set when the server is created. Most cannot 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