This documentation is archived and is not being maintained.

RegiisUtility::ProtectedConfigAction Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Allows specific manipulation of configuration sections and assembly-key containers based on the supplied parameters.

Namespace:  System.Web.Management
Assembly:  System.Web (in System.Web.dll)

public:
virtual void ProtectedConfigAction(
	long long options, 
	String^ firstArgument, 
	String^ secondArgument, 
	String^ providerName, 
	String^ appPath, 
	String^ site, 
	String^ cspOrLocation, 
	int keySize, 
	[OutAttribute] IntPtr% exception
) sealed

Parameters

options
Type: System::Int64
The type of action to perform.
firstArgument
Type: System::String
A configuration section or assembly-key container name.
secondArgument
Type: System::String
The configuration file name or account name.
providerName
Type: System::String
The provider name.
appPath
Type: System::String
The application path.
site
Type: System::String
The site reference.
cspOrLocation
Type: System::String
The configuration location.
keySize
Type: System::Int32
The size of the key.
exception
Type: System::IntPtr%
The exception to display.

Implements

IRegiisUtility::ProtectedConfigAction(Int64, String, String, String, String, String, String, Int32, IntPtr%)

The ProtectedConfigAction method is used internally to protect and unprotect sections within the configuration. The ProtectedConfigAction method also supports assembly-key container manipulation.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: