Class WebFarmServerInfoProvider
- Namespace
- CMS.WebFarmSync
- Assembly
- CMS.WebFarmSync.dll
Class providing WebFarmServerInfo management.
[ProviderInterface(typeof(IWebFarmServerInfoProvider))]
public class WebFarmServerInfoProvider : AbstractInfoProvider<WebFarmServerInfo, WebFarmServerInfoProvider>, IInfoProvider, ICustomizableProvider, IBulkOperationProvider, IWebFarmProvider, IInfoValidator<WebFarmServerInfo>, IInfoByGuidProvider<WebFarmServerInfo>, IBulkInfoProvider<WebFarmServerInfo>, IWebFarmServerInfoProvider, IInfoProvider<WebFarmServerInfo>, IInfoByIdProvider<WebFarmServerInfo>, IInfoByNameProvider<WebFarmServerInfo>
- Inheritance
-
objectWebFarmServerInfoProvider
- Implements
- Inherited Members
- Extension Methods
Constructors
WebFarmServerInfoProvider()
Constructor
public WebFarmServerInfoProvider()
Methods
DeleteInfo(WebFarmServerInfo)
Deletes the object to the database.
protected override void DeleteInfo(WebFarmServerInfo info)
Parameters
info
WebFarmServerInfoObject to delete
GetAllEnabledServers()
Returns all the enabled servers records.
[Obsolete("Method is no longer used by the system and will be removed.")]
[ObsoleteSince(29, 5)]
public static ObjectQuery<WebFarmServerInfo> GetAllEnabledServers()
Returns
GetWebFarmServerInfoByGUID(Guid)
Returns object with specified GUID.
[Obsolete("Method is no longer used by the system and will be removed.")]
[ObsoleteSince(29, 5)]
public static WebFarmServerInfo GetWebFarmServerInfoByGUID(Guid guid)
Parameters
guid
GuidObject GUID
Returns
SetInfo(WebFarmServerInfo)
Inserts or Updates the object to the database.
protected override void SetInfo(WebFarmServerInfo info)
Parameters
info
WebFarmServerInfoObject to insert / update
SetServerTasks(string, int)
Sets task to server.
[Obsolete("Method is no longer used by the system and will be removed.")]
[ObsoleteSince(29, 5)]
public static void SetServerTasks(string serverName, int taskId)
Parameters
serverName
stringServer name
taskId
intTask ID
SetServerTasksInternal(string, int)
Sets task to server.
[Obsolete("Method is no longer used by the system and will be removed.")]
[ObsoleteSince(29, 5)]
protected void SetServerTasksInternal(string serverName, int taskId)
Parameters
serverName
stringServer name
taskId
intTask ID