'Declaration
<ContractAnnotationAttribute("otherServer:null=>serverSettings:notnull;otherServer:notnull=>serverSettings:canbenull;serverSettings:null=>otherServer:notnull;serverSettings:notnull=>otherServer:canbenull")> Public Function AddOrUpdateLinkedServer( _ ByVal otherServer As Scheduler, _ ByVal serverSettings As LinkedServer, _ ByRef messages As MessageCollection _ ) As Boolean
[ContractAnnotation("otherServer:null=>serverSettings:notnull;otherServer:notnull=>serverSettings:canbenull;serverSettings:null=>otherServer:notnull;serverSettings:notnull=>otherServer:canbenull")] public bool AddOrUpdateLinkedServer( Scheduler otherServer, LinkedServer serverSettings, out MessageCollection messages )
[ContractAnnotation("otherServer:null=>serverSettings:notnull;otherServer:notnull=>serverSettings:canbenull;serverSettings:null=>otherServer:notnull;serverSettings:notnull=>otherServer:canbenull")] public: bool AddOrUpdateLinkedServer( Scheduler^ otherServer, LinkedServer^ serverSettings, [Out] MessageCollection^ messages )
Parameters
- otherServer
- A Scheduler connection to the other server.
- serverSettings
- The settings to use for the relationship. Specify a null reference (Nothing in Visual Basic) to use the default settings.
- messages
- Error messages if the relationship cannot be created.
Return Value
True if the update succeeds, or False if it fails.