Click or drag to resize
WebSyncHelper Methods

The WebSyncHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberClear
Clears the hashtables of web farm servers.
Public methodStatic memberCreateTask
Creates task.
Public methodStatic memberDeleteDynamicServer
Deletes the dynamic web farm server
Public methodStatic memberDeleteMemorySynchronizationTasks
Deletes memory synchronization web farm tasks.
Public methodStatic memberDeleteTask
Removes task for specified server.
Public methodStatic memberGetAllEnabledServers Obsolete.
Returns the DataSet of all the enabled servers records.
Public methodStatic memberGetAzureWebFarmName
Constructs the name for web farms when running on Azure.
Public methodStatic memberGetEnabledServerNames Obsolete.
Gets the list of currently enabled server names.
Public methodStatic memberGetNotificationPath
Gets default notification path for given server physical path
Public methodStatic memberGetServerTasks
Returns dataset with tasks to specified server.
Public methodStatic memberGetTaskBinaryData
Returns task binary data.
Public methodStatic memberGetWebFarmUpdater
Returns web farm updater instance.
Public methodStatic memberInitWebFarm
Initializes the web farm environment
Public methodStatic memberIsFileSynchronizationAllowed
Returns value which indicates whether current file is allowed to web farm synchronization.
Public methodStatic memberIsServerEnabled Obsolete.
Returns true if the server with given ID is enabled
Public methodStatic memberNotifyServer(Int32)
Notifies a web farm server about a new task.
Public methodStatic memberNotifyServer(String)
Notifies a web farm server about a new task.
Public methodStatic memberNotifyServers
Notifies other servers that some changes occurred
Public methodStatic memberProcessMyTasks
Reads all tasks assigned to the current server and processes them. It processes only tasks for the server with code name stored in the CMSWebFarmServerName web.config variable.
Public methodStatic memberProcessTask
Processes the specified task and deletes it.
Public methodStatic memberRegisterWatchers
Initializes file system watchers
Public methodStatic memberRegisterWebFarmMemoryTask
Registers the given task as the memory only task
Public methodStatic memberSetErrorInTask
Sets the error message to the specified task.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also