Share via


SPWebApplication.UserPhotoOnlineImportEnabled property

Gets or sets whether to enable the picture import feature for Exchange Online.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property UserPhotoOnlineImportEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.UserPhotoOnlineImportEnabled

instance.UserPhotoOnlineImportEnabled = value
public bool UserPhotoOnlineImportEnabled { get; set; }

Property value

Type: System.Boolean
true to enable the picture import feature; otherwise false.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace