HostedEmailIntegrationManager.EnabledAddinId Property
Retrieves the GUID of the enabled hosted email add-in.
Namespace: Microsoft.WindowsServerSolutions.HostedEmail
Assembly: Wssg.HostedEmailObjectModel (in Wssg.HostedEmailObjectModel.dll)
Syntax
public static Guid EnabledAddinId { get; }
public:
property Guid EnabledAddinId {
static Guid get();
}
Public Shared ReadOnly Property EnabledAddinId As Guid
Property Value
Type: System.Guid
A Guid containing the GUID of the enabled hosted email add-in.
Examples
The following code describes using EnabledAddinId as part of check to confirm that the current ID equals the specified adapter ID. For the complete example, see Quickstart: Creating a Hosted Email Adapter.
private static bool ContosoEmailEnabled
{
get
{
return (HostedEmailIntegrationManager.IsEnabled() && HostedEmailIntegrationManager.EnabledAddinId.Equals(Constants.AdaptorId));
}
}
See Also
HostedEmailIntegrationManager Class
Microsoft.WindowsServerSolutions.HostedEmail Namespace
Return to top