共用方式為


PeopleManager.SetSingleValueProfileProperty 方法

命名空間:  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 Sub SetSingleValueProfileProperty ( _
    accountName As String, _
    propertyName As String, _
    propertyValue As String _
)
'用途
Dim instance As PeopleManager
Dim accountName As String
Dim propertyName As String
Dim propertyValue As String

instance.SetSingleValueProfileProperty(accountName, _
    propertyName, propertyValue)
public void SetSingleValueProfileProperty(
    string accountName,
    string propertyName,
    string propertyValue
)

參數

請參閱

參照

PeopleManager 類別

PeopleManager 成員

Microsoft.SharePoint.Client.UserProfiles 命名空間