GetNamedProperty Method
Collapse the table of content
Expand the table of content

ContextUtil.GetNamedProperty Method (String)

 

Returns a named property from the COM+ context.

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

public static object GetNamedProperty(
	string name
)

Parameters

name
Type: System.String

The name of the requested property.

Return Value

Type: System.Object

The named property for the context.

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 1.1
Return to top
Show:
© 2016 Microsoft