---
title: "Aspose::Email::Mapi::ReferenceAttachmentOptions::get_ProviderName method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/referenceattachmentoptions/get_providername/"
product: "Aspose.Email for C++"
description: "Gets the name of the provider for the reference attachment."
---


## get_ProviderName {#get_providername}

Gets the name of the provider for the reference attachment. Examples include "GoogleDrive", "OneDrive", etc.

**Returns:** System::String Aspose::Email::Mapi::

```cpp
get_ProviderName()
```

