共用方式為


UserProfile.PictureImportEnabled 屬性

取得一個 Boolean 值,指出是否從Exchange匯入使用者的圖片。

命名空間:  Microsoft.SharePoint.Client.UserProfiles
組件:   Microsoft.SharePoint.Client.UserProfiles.Silverlight (在 Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll 中);  Microsoft.SharePoint.Client.UserProfiles.Phone (在 Microsoft.SharePoint.Client.UserProfiles.Phone.dll 中)  Microsoft.SharePoint.Client.UserProfiles (在 Microsoft.SharePoint.Client.UserProfiles.dll 中)

語法

'宣告
Public Property PictureImportEnabled As Boolean
    Get
    Set
'用途
Dim instance As UserProfile
Dim value As Boolean

value = instance.PictureImportEnabled

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

屬性值

類型:System.Boolean
true如果從Exchange,否則false匯入使用者的圖片。

請參閱

參照

UserProfile 類別

UserProfile 成員

Microsoft.SharePoint.Client.UserProfiles 命名空間