ContextUtil::SetNamedProperty Method (String^, Object^)

 

Sets the named property for the COM+ context.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public:
static void SetNamedProperty(
	String^ name,
	Object^ value
)

Parameters

name
Type: System::String^

The name of the property to set.

value
Type: System::Object^

Object that represents the property value to set.

Exception Condition
COMException

There is no COM+ context available.

PlatformNotSupportedException

The platform is not Windows 2000 or later.

This is useful for obtaining the Internet Information Services (IIS) intrinsic objects provided by Active Server Pages (ASP).

.NET Framework
Available since 2.0
Return to top
Show: