ALM Site Administration API Type Library
CreateSiteSingleParam Method
Description
Creates a new site configuration parameter.
Syntax
Visual Basic
Public Function CreateSiteSingleParam( _
   ByVal ParamName As String, _
   ByVal ParamValue As String, _
   ByVal ParamDescription As String _
) As String
Parameters
ParamName
The parameter name.
ParamValue
The new parameter value.
ParamDescription
The new parameter description.
Return Type
Returns "1" on success.
Example
Private Sub CreateSiteSingleParam()

'The following Visual Basic example creates a new site
' configuration parameter.
    Dim sReply As String
    On Error GoTo err
    sReply = m_SAClient.CreateSiteSingleParam _
        ("MaxReqsPerBranch", "500", "Max Requirements per branch")
    MsgBox sReply
    Exit Sub
err:
    MsgBox "Program failed:" + err.Description
End Sub
See Also