共用方式為


SPWebApplication.UserPhotoOnlineImportEnabled property

取得或設定是否要啟用 Exchange Online 的圖片匯入功能。

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

Syntax

'宣告
Public Property UserPhotoOnlineImportEnabled As Boolean
    Get
    Set
'用途
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否則false。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace