Partager via


Server Class

Definition

Contains information about a server in a Microsoft Dynamics 365 deployment.

public ref class Server : Microsoft::Xrm::Sdk::Deployment::DeploymentEntity
[System.CodeDom.Compiler.GeneratedCode("System.Runtime.Serialization", "4.0.0.0")]
[System.Diagnostics.DebuggerStepThrough]
[System.Runtime.Serialization.DataContract(Name="Server", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
public class Server : Microsoft.Xrm.Sdk.Deployment.DeploymentEntity
[<System.CodeDom.Compiler.GeneratedCode("System.Runtime.Serialization", "4.0.0.0")>]
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Runtime.Serialization.DataContract(Name="Server", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>]
type Server = class
    inherit DeploymentEntity
Public Class Server
Inherits DeploymentEntity
Inheritance
Attributes

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.

Constructors

Server()

Initializes a new instance of the Server class.

Properties

ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from DeploymentObject)
FullName

Gets or sets the full name of the server.

Id

Gets the organization ID.

Name

Gets the name of the server.

Roles

Gets the set of roles configured for the server.

State

Gets or sets the state of the server.

Version

Gets the version number of the server.

Applies to