Compartilhar via


ServerParameter Constructor (String, String, Boolean)

NOTE: This API is now obsolete.

Initializes a new instance of the ServerParameter class based on the specified parameter name, parameter value, and a Boolean value specifying whether the value of the parameter is a null reference (Nothing in Visual Basic).

Namespace:  Microsoft.SharePoint.Dsp
Assembly:  Microsoft.SharePoint.Dsp (in Microsoft.SharePoint.Dsp.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use the Lists web service instead.")> _
Public Sub New ( _
    name As String, _
    val As String, _
    nil As Boolean _
)
'Usage
Dim name As String
Dim val As String
Dim nil As Boolean

Dim instance As New ServerParameter(name, val, _
    nil)
[ObsoleteAttribute("Use the Lists web service instead.")]
public ServerParameter(
    string name,
    string val,
    bool nil
)

Parameters

  • name
    Type: System.String

    A string that contains the name of the parameter.

  • val
    Type: System.String

    A string that contains the value of the parameter.

  • nil
    Type: System.Boolean

    true to specify that the value of the parameter is null; false to specify that the value of the server parameter be interpreted as an empty string ("").

See Also

Reference

ServerParameter Class

ServerParameter Members

ServerParameter Overload

Microsoft.SharePoint.Dsp Namespace