共用方式為


UserProfile.CreatePersonalSiteSyncFromWorkItem 方法

命名空間:  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 Shared Function CreatePersonalSiteSyncFromWorkItem ( _
    context As ClientRuntimeContext, _
    workItemType As Guid _
) As ClientResult(Of Integer)
'用途
Dim context As ClientRuntimeContext
Dim workItemType As Guid
Dim returnValue As ClientResult(Of Integer)

returnValue = UserProfile.CreatePersonalSiteSyncFromWorkItem(context, _
    workItemType)
public static ClientResult<int> CreatePersonalSiteSyncFromWorkItem(
    ClientRuntimeContext context,
    Guid workItemType
)

參數

傳回值

類型:Microsoft.SharePoint.Client.ClientResult<Int32>

請參閱

參照

UserProfile 類別

UserProfile 成員

Microsoft.SharePoint.Client.UserProfiles 命名空間