ConfigParameterDefinition.CreateEncryptedStringParameter Method (String, String)

Create an encrypted string parameter definition.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)


Dim name As String
Dim validation As String
Dim returnValue As ConfigParameterDefinition

returnValue = ConfigParameterDefinition.CreateEncryptedStringParameter(name, validation)


Public Shared Function CreateEncryptedStringParameter ( _
    name As String, _
    validation As String _
) As ConfigParameterDefinition
public static ConfigParameterDefinition CreateEncryptedStringParameter (
    string name,
    string validation
static ConfigParameterDefinition^ CreateEncryptedStringParameter (
    String^ name, 
    String^ validation
public static ConfigParameterDefinition CreateEncryptedStringParameter (
    String name, 
    String validation
public static function CreateEncryptedStringParameter (
    name : String, 
    validation : String
) : ConfigParameterDefinition


  • name
    A string the represents the name of the encryptedstring 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.


Target Platforms

See Also


ConfigParameterDefinition Class
ConfigParameterDefinition Members
Microsoft.MetadirectoryServices Namespace