A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://apidocs.umbraco.com/v15/csharp/api/Umbraco.Cms.Core.Models.ServerRegistration.html below:

View Source Class ServerRegistration

Represents a registered server in a multiple-servers environment.

Inheritance

System.Object

Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Core.dll Syntax
public class ServerRegistration : EntityBase, IServerRegistration, IServerAddress, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors View Source ServerRegistration()

Initializes a new instance of the ServerRegistration class.

Declaration
public ServerRegistration()
View Source ServerRegistration(Int32, String, String, DateTime, DateTime, Boolean, Boolean)

Initializes a new instance of the ServerRegistration class.

Declaration
public ServerRegistration(int id, string serverAddress, string serverIdentity, DateTime registered, DateTime accessed, bool isActive, bool isSchedulingPublisher)
Parameters Type Name Description System.Int32 id

The unique id of the server registration.

System.String serverAddress

The server URL.

System.String serverIdentity

The unique server identity.

DateTime registered

The date and time the registration was created.

DateTime accessed

The date and time the registration was last accessed.

System.Boolean isActive

A value indicating whether the registration is active.

System.Boolean isSchedulingPublisher

A value indicating whether the registration is scheduling publisher.

View Source ServerRegistration(String, String, DateTime)

Initializes a new instance of the ServerRegistration class.

Declaration
public ServerRegistration(string serverAddress, string serverIdentity, DateTime registered)
Parameters Type Name Description System.String serverAddress

The server URL.

System.String serverIdentity

The unique server identity.

DateTime registered

The date and time the registration was created.

Properties View Source Accessed

Gets the date and time the registration was last accessed.

Declaration
public DateTime Accessed { get; set; }
Property Value Type Description DateTime View Source IsActive

Gets or sets a value indicating whether the server is active.

Declaration
public bool IsActive { get; set; }
Property Value Type Description System.Boolean View Source IsSchedulingPublisher

Gets or sets a value indicating whether the server has the SchedulingPublisher role

Declaration
public bool IsSchedulingPublisher { get; set; }
Property Value Type Description System.Boolean View Source Registered

Gets the date and time the registration was created.

Declaration
public DateTime Registered { get; set; }
Property Value Type Description DateTime View Source ServerAddress

Gets or sets the server URL.

Declaration
public string ServerAddress { get; set; }
Property Value Type Description System.String View Source ServerIdentity

Gets or sets the server unique identity.

Declaration
public string ServerIdentity { get; set; }
Property Value Type Description System.String Methods View Source ToString()

Converts the value of this instance to its equivalent string representation.

Declaration
public override string ToString()
Returns Type Description System.String

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4