AuthenticatorBase.GetCredential 方法
获取基于密码的身份验证的凭据
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Phone.Runtime(位于 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)
语法
声明
Public MustOverride Function GetCredential ( _
uri As Uri, _
authType As String _
) As NetworkCredential
用法
Dim instance As AuthenticatorBase
Dim uri As Uri
Dim authType As String
Dim returnValue As NetworkCredential
returnValue = instance.GetCredential(uri, _
authType)
public abstract NetworkCredential GetCredential(
Uri uri,
string authType
)
参数
uri
类型:System.Uri要从中检索凭据 URI。
authType
类型:System.String身份验证类型。
返回值
类型:System.Net.NetworkCredential
凭据。