SharePointOnlineCredentials.GetAuthenticationCookie 方法 (Uri, Boolean)
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Runtime (在 Microsoft.SharePoint.Client.Runtime.dll 中)
語法
'宣告
Public Function GetAuthenticationCookie ( _
url As Uri, _
alwaysThrowOnFailure As Boolean _
) As String
'用途
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
)
參數
- url
類型:System.Uri
- alwaysThrowOnFailure
類型:System.Boolean
傳回值
請參閱
參照
SharePointOnlineCredentials 類別