Partager via


SharePointOnlineCredentials.GetAuthenticationCookie - Méthode (Uri, Boolean)

Espace de noms :  Microsoft.SharePoint.Client
Assembly :  Microsoft.SharePoint.Client.Runtime (dans Microsoft.SharePoint.Client.Runtime.dll)

Syntaxe

'Déclaration
Public Function GetAuthenticationCookie ( _
    url As Uri, _
    alwaysThrowOnFailure As Boolean _
) As String
'Utilisation
Dim instance As SharePointOnlineCredentials
Dim url As Uri
Dim alwaysThrowOnFailure As Boolean
Dim returnValue As String

returnValue = instance.GetAuthenticationCookie(url, _
    alwaysThrowOnFailure)
public string GetAuthenticationCookie(
    Uri url,
    bool alwaysThrowOnFailure
)

Paramètres

Valeur renvoyée

Type : System.String

Voir aussi

Référence

SharePointOnlineCredentials classe

SharePointOnlineCredentials - Membres

GetAuthenticationCookie - Surcharge

Microsoft.SharePoint.Client - Espace de noms