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
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.