AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IPortletManager.GetPortletInstance Method

Returns an `IPortlet` object that represents an existing Portlet instance.

IPortlet GetPortletInstance(
int portletID
);

#### Parameters

portletID
  The ID of the Portlet to be returned.

#### Return Value

The `IPortlet` instance being queried.

#### Remarks

Any changes made to the Portlet instance will not take effect in the portal until the `IPortlet.Save()` method is called.

#### Exceptions

Exception Type | Condition
--- | ---
NoSuchObjectException | There is no Portlet with the specified ID.
HttpException | The query interface URL is not valid.
PortalException | The operation resulted in an error in the portal.
SoapException | There was a communication problem during the execution of the remote method call.

#### See Also

IPortletManager Interface | Plumtree.Remote.PRC Namespace