ContextUtil.SetNamedProperty(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.