IVsCredential.SetTokenValue Method
Sets the token value (secret) for this credential. If the underlying credential has already been deleted it gets re-added with the new token value. The token cannot be null or empty, or whitespace.
Namespace: Microsoft.VisualStudio.Shell.Connected.CredentialStorage
Assembly: Microsoft.VisualStudio.Shell.Immutable.12.0 (in Microsoft.VisualStudio.Shell.Immutable.12.0.dll)
Syntax
'Declaration
Sub SetTokenValue ( _
tokenValue As String _
)
void SetTokenValue(
string tokenValue
)
void SetTokenValue(
String^ tokenValue
)
abstract SetTokenValue :
tokenValue:string -> unit
function SetTokenValue(
tokenValue : String
)
Parameters
tokenValue
Type: StringThe token value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Shell.Connected.CredentialStorage Namespace