Share via


AttributeChange.CreateAttributeReplace Method (String, Object)

Create an instance of the AttributeChange class whose AttributeModificationType is Replace.

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

Usage

'Usage
Dim attributeName As String
Dim value As Object
Dim returnValue As AttributeChange

returnValue = AttributeChange.CreateAttributeReplace(attributeName, value)

Syntax

'Declaration
Public Shared Function CreateAttributeReplace ( _
    attributeName As String, _
    value As Object _
) As AttributeChange
public static AttributeChange CreateAttributeReplace (
    string attributeName,
    Object value
)
public:
static AttributeChange^ CreateAttributeReplace (
    String^ attributeName, 
    Object^ value
)
public static AttributeChange CreateAttributeReplace (
    String attributeName, 
    Object value
)
public static function CreateAttributeReplace (
    attributeName : String, 
    value : Object
) : AttributeChange

Parameters

  • attributeName
    Contains an attribute name.
  • value
    Contains an attribute value.

Return Value

Returns AttributeChange.

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

AttributeChange Class
AttributeChange Members
Microsoft.MetadirectoryServices Namespace