ContextUtil::SetNamedProperty Method (String^, Object^)
.NET Framework (current version)
Sets the named property for the COM+ context.
Assembly: System.EnterpriseServices (in System.EnterpriseServices.dll)
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
Available since 2.0
Show: