CredentialsCacheManager.StoreCredentials 方法 (String, Uri, String, String)
命名空间: Microsoft.TeamFoundation.Client
程序集: Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)
语法
声明
Public Function StoreCredentials ( _
featureRegistryKeyword As String, _
uri As Uri, _
userName As String, _
password As String _
) As Integer
public int StoreCredentials(
string featureRegistryKeyword,
Uri uri,
string userName,
string password
)
参数
- featureRegistryKeyword
类型:System.String
- uri
类型:System.Uri
- userName
类型:System.String
- password
类型:System.String
返回值
类型:System.Int32
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。