Compartilhar via


PeopleManager.GetDefaultDocumentLibrary método

Namespace:  Microsoft.SharePoint.Client.UserProfiles
Assemblies:   Microsoft.SharePoint.Client.UserProfiles.Silverlight (em Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll);  Microsoft.SharePoint.Client.UserProfiles.Phone (em Microsoft.SharePoint.Client.UserProfiles.Phone.dll)  Microsoft.SharePoint.Client.UserProfiles (em Microsoft.SharePoint.Client.UserProfiles.dll)

Sintaxe

'Declaração
Public Function GetDefaultDocumentLibrary ( _
    accountName As String, _
    createSiteIfNotExists As Boolean, _
    siteCreationPriority As PersonalSiteCreationPriority _
) As ClientResult(Of String)
'Uso
Dim instance As PeopleManager
Dim accountName As String
Dim createSiteIfNotExists As Boolean
Dim siteCreationPriority As PersonalSiteCreationPriority
Dim returnValue As ClientResult(Of String)

returnValue = instance.GetDefaultDocumentLibrary(accountName, _
    createSiteIfNotExists, siteCreationPriority)
public ClientResult<string> GetDefaultDocumentLibrary(
    string accountName,
    bool createSiteIfNotExists,
    PersonalSiteCreationPriority siteCreationPriority
)

Parâmetros

Valor retornado

Tipo: Microsoft.SharePoint.Client.ClientResult<String>

Ver também

Referência

PeopleManager classe

PeopleManager membros

Microsoft.SharePoint.Client.UserProfiles namespace