SetAttrSValue

  

DEVELOPER

 

 

Purpose

.SetAttrSValue allows you to set an attribute (name and value pair).

Object Type

Session

Syntax

Session.SetAttrSValue ("AttributeName","AttributeValue")

Remarks

Numerics must be converted to alphanumerics before using this method.

Overwrites any existing attribute value associated with its name.

It is case-sensitive.

Space to right of the attribute name are ignored.

Attribute name and value can be up to 2000 characters each.

Example

To set attribute named "TechnologyName" to "PROIV" :

Session.SetAttrSValue("TechnologyName","PROIV")

or

$AttributeName = "TechnologyName" $AttributeValue = "PROIV"
Session.SetAttrSValue($AttributeName,$AttributeValue)

Comment on this topic

Topic ID: 510163