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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.