ConfigParameterDefinition.CreateStringParameter Method (String, String)
Create a string parameter definition.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)
Usage
'Usage
Dim name As String
Dim validation As String
Dim returnValue As ConfigParameterDefinition
returnValue = ConfigParameterDefinition.CreateStringParameter(name, validation)
Syntax
'Declaration
Public Shared Function CreateStringParameter ( _
name As String, _
validation As String _
) As ConfigParameterDefinition
public static ConfigParameterDefinition CreateStringParameter (
string name,
string validation
)
public:
static ConfigParameterDefinition^ CreateStringParameter (
String^ name,
String^ validation
)
public static ConfigParameterDefinition CreateStringParameter (
String name,
String validation
)
public static function CreateStringParameter (
name : String,
validation : String
) : ConfigParameterDefinition
Parameters
- name
A string the represents the name of the string parameter.
- validation
A string that represents the value that must be entered in the box for validation.
Return Value
Returns ConfigParameterDefinition.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
ConfigParameterDefinition Class
ConfigParameterDefinition Members
Microsoft.MetadirectoryServices Namespace