Share via


CredentialsCacheManager.StoreCredentials 方法 (String, String, String, SecureString, String, Dictionary<String, String>)

命名空间:  Microsoft.TeamFoundation.Client
程序集:  Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)

语法

声明
Public Function StoreCredentials ( _
    featureRegistryKeyword As String, _
    targetName As String, _
    userName As String, _
    password As SecureString, _
    comment As String, _
    attributes As Dictionary(Of String, String) _
) As Integer
public int StoreCredentials(
    string featureRegistryKeyword,
    string targetName,
    string userName,
    SecureString password,
    string comment,
    Dictionary<string, string> attributes
)

参数

返回值

类型:System.Int32

.NET Framework 安全性

请参见

参考

CredentialsCacheManager 类

StoreCredentials 重载

Microsoft.TeamFoundation.Client 命名空间