Click or drag to resize

IServerMakeSlaveOf Method

Make the current server slave of the specified server.
It will not save the change in the database unless you explicitly call the Save method.

Namespace:  AskiaPortalCmn
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
IReturnValue MakeSlaveOf(
	IServer master
)

Parameters

master
Type: AskiaPortalCmnIServer
Master server.

Return Value

Type: IReturnValue
Returns success result if the user in the context have enough right to edit the server.

Return Value

Type: IReturnValue
NotAllowedToEditThisServer

Return Value

Type: IReturnValue
NotAllowedToEditTheMasterServer

Return Value

Type: IReturnValue
UnableToMakeServerSlaveOfItself

Return Value

Type: IReturnValue
MasterServerCouldNotBeSlave

Return Value

Type: IReturnValue
MasterAndSlaveServerMustHaveTheSameType
Remarks
It will not save the change in the database unless you explicitly call the Save method.
Remarks
User in the context should have enough permission to edit both the master and the slave servers.
See Also