ContextUtil.GetNamedProperty(String) 方法

定义

从 COM+ 上下文返回命名的属性。Returns a named property from the COM+ context.

public:
 static System::Object ^ GetNamedProperty(System::String ^ name);
public static object GetNamedProperty (string name);
static member GetNamedProperty : string -> obj
Public Shared Function GetNamedProperty (name As String) As Object

参数

name
String

请求的属性的名称。The name of the requested property.

返回

上下文的命名的属性。The named property for the context.

异常

没有可用的 COM+ 上下文。There is no COM+ context available.

注解

这对于获取 Active Server Pages (ASP)提供的 Internet Information Services (IIS)内部对象非常有用。This is useful for obtaining the Internet Information Services (IIS) intrinsic objects provided by Active Server Pages (ASP).

适用于

另请参阅