Partager via


_SharingItem.SharingProviderGuid Property

Returns a String (string in C#) that represents the GUID of the sharing provider used by the SharingItem object. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property SharingProviderGuid As String
    Get
'Usage
Dim instance As _SharingItem
Dim value As String

value = instance.SharingProviderGuid
[DispIdAttribute()]
string SharingProviderGuid { get; }

Property Value

Type: System.String

Remarks

The GUID is returned as a string using the following format:

{00000000-0000-0000-0000-000000000000}

If the SharingProvider property of the SharingItem object is set to olProviderUnknown, you can use the SharingProviderGUID property to identify the sharing provider.

See Also

Reference

_SharingItem Interface

_SharingItem Members

Microsoft.Office.Interop.Outlook Namespace