This documentation is archived and is not being maintained.

AdminTraceLogger::RegisterPassword Method

All Admin logging and tracing comes through the trace class. We will error if (1) the TFS_SCAN_PASSWORDS envvar is set and (2) it's debug This is expensive to enable but good for testing that passwords don't end up in a flight recorder trace or log Debug only so we don't care about passwords not being secure strings

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

[ConditionalAttribute(L"DEBUG")]
public:
void RegisterPassword(
	String^ password
)

Parameters

password
Type: System::String

Show: