RegiisUtility.ProtectedConfigAction Method

This method 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
public final void ProtectedConfigAction (
	long options, 
	String firstArgument, 
	String secondArgument, 
	String providerName, 
	String appPath, 
	String site, 
	String cspOrLocation, 
	int keySize, 
	/** @attribute OutAttribute() */ /** @ref */ IntPtr exception
)
Not applicable.

Parameters

options

The type of action to perform.

firstArgument

A configuration section or assembly-key container name.

secondArgument

The configuration file name or account name.

providerName

The provider name.

appPath

The application path.

site

The site reference.

cspOrLocation

The configuration location.

keySize

The size of the key.

exception

The exception to display.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: