共用方式為


WindowsToken.ICredentials.GetCredential 方法

命名空間:  Microsoft.TeamFoundation.Client
組件:  Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)

語法

'宣告
Private Function GetCredential ( _
    uri As Uri, _
    authType As String _
) As NetworkCredential Implements ICredentials.GetCredential
NetworkCredential ICredentials.GetCredential(
    Uri uri,
    string authType
)

參數

傳回值

型別:System.Net.NetworkCredential
傳回 NetworkCredential

實作

ICredentials.GetCredential(Uri, String)

.NET Framework 安全性

請參閱

參考

WindowsToken 類別

Microsoft.TeamFoundation.Client 命名空間