CredentialsCacheManager.StoreCredentials 메서드 (String, String, String, SecureString, String, Dictionary<String, String>)
네임스페이스: Microsoft.VisualStudio.Services.Common
어셈블리: Microsoft.VisualStudio.Services.Common(Microsoft.VisualStudio.Services.Common.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
)
매개 변수
- featureRegistryKeyword
형식: System.String
- targetName
형식: System.String
- userName
형식: System.String
- password
형식: System.Security.SecureString
- comment
형식: System.String
- attributes
형식: System.Collections.Generic.Dictionary<String, String>
반환 값
형식: System.Int32
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.