## IGraphClient.FetchRule method

Get the properties and relationships of a message rule object. Permissions One of the following permissions is required to call this API.To learn more, including how to choose permissions, see Permissions. Delegated (work or school account) MailboxSettings.Read Delegated (personal Microsoft account) MailboxSettings.Read Application MailboxSettings.Read

```csharp
public InboxRule FetchRule(string itemId)
```

| Parameter | Type | Description |
| --- | --- | --- |
| itemId | String | Item id |

### Return Value

Inbox rule

### See Also

* class [InboxRule](../../../aspose.email.clients.exchange/inboxrule/)
* interface [IGraphClient](../)
* namespace [Aspose.Email.Clients.Graph](../../igraphclient/)
* assembly [Aspose.Email](../../../)


