IVsCredentialStorageService.CreateCredentialKey Method

Definition

Create a credential key which can be used with the retreieve and remove methods.

public:
 Microsoft::VisualStudio::Shell::Connected::CredentialStorage::IVsCredentialKey ^ CreateCredentialKey(System::String ^ featureName, System::String ^ resource, System::String ^ userName, System::String ^ type);
public:
 Microsoft::VisualStudio::Shell::Connected::CredentialStorage::IVsCredentialKey ^ CreateCredentialKey(Platform::String ^ featureName, Platform::String ^ resource, Platform::String ^ userName, Platform::String ^ type);
Microsoft::VisualStudio::Shell::Connected::CredentialStorage::IVsCredentialKey CreateCredentialKey(std::wstring const & featureName, std::wstring const & resource, std::wstring const & userName, std::wstring const & type);
public Microsoft.VisualStudio.Shell.Connected.CredentialStorage.IVsCredentialKey CreateCredentialKey (string featureName, string resource, string userName, string type);
abstract member CreateCredentialKey : string * string * string * string -> Microsoft.VisualStudio.Shell.Connected.CredentialStorage.IVsCredentialKey
Public Function CreateCredentialKey (featureName As String, resource As String, userName As String, type As String) As IVsCredentialKey

Parameters

featureName
String

Cannot be null, empty or whitespace.

resource
String

Cannot be null, empty or whitespace.

userName
String

Cannot be null, empty or whitespace.

type
String

Cannot be null, empty or whitespace.

Returns

Applies to