Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Amazon
Runtime
Internal
Auth
SharedCredentialsFile
DeleteProfile
Amazon.Runtime.Internal.Auth.SharedCredentialsFile.DeleteProfile C# (CSharp) Method
SharedCredentialsFile Class Documentation
Show file
Open project: aws/aws-sdk-net
DeleteProfile()
public
method
Deletes the section with the given ProfileName from the SharedCredentialsFile, if one exists. Changes are not written to disk until the Persist() method is called.
public
DeleteProfile
(
string
profileName
) :
void
profileName
string
ProfileName of section to delete
return
void
public void DeleteProfile(string profileName) { iniFile.DeleteSection(profileName); }
SharedCredentialsFile
AddOrUpdateCredentials
DeleteProfile
GetCredentials
ListProfileNames
Persist
SharedCredentialsFile
TryGetCredentials