Edit

Kongsi melalui


ContextUtil.SetNamedProperty(String, Object) Method

Definition

Sets the named property for the COM+ context.

public:
 static void SetNamedProperty(System::String ^ name, System::Object ^ value);
public static void SetNamedProperty (string name, object value);
static member SetNamedProperty : string * obj -> unit
Public Shared Sub SetNamedProperty (name As String, value As Object)

Parameters

name
String

The name of the property to set.

value
Object

Object that represents the property value to set.

Exceptions

There is no COM+ context available.

Remarks

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

Applies to

See also