3.1.5.7 GetSiteGateForSite
GetSiteGateForSite returns the QueueManager.Identifier of the MSMQ site gate for a given MSMQ site identified by the SiteID parameter. If no MSMQ site gate is found within the Site, this method returns Nothing.
-
GetSiteGateForSite(SiteID of type GUID) ;SiteID - Site.Identifier that identifies Site INIT SiteGate of type GUID INIT SiteTemp of type Site INIT ArraySite of type vector of Site INIT StrSiteID of type string SET SiteGate to Nothing SET StrSiteID to SiteID as string SET ArraySite to result of GetDirectoryData("Site", one-element array: "Identifier" EQUALS StrSiteID) IF ArraySite = Nothing THEN RETURN with SiteGate ENDIF SET SiteTemp to one of ArraySite SET SiteGate to one of SiteTemp.SiteGateCollection RETURN with SiteGate