InheritableProperty<TValueType>.SetValue method (TValueType)

Sets the value of this property.

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

Syntax

'Declaration
Public Function SetValue ( _
    value As TValueType _
) As LongRunningOperationJob
'Usage
Dim instance As InheritableProperty
Dim value As TValueType
Dim returnValue As LongRunningOperationJob

returnValue = instance.SetValue(value)
public LongRunningOperationJob SetValue(
    TValueType value
)

Parameters

  • value
    Type: TValueType

    The property value set by this method.

Return value

Type: LongRunningOperationJob
A LongRunningOperationJob object.

Remarks

This method sets the value of the property on the current PublishingWeb object. If there are child PublishingWeb objects set to inherit, all changes are propagated to the child PublishingWeb objects. The current user must have permissions to modify the parent PublishingWeb object, but does not need permissions to modify child PublishingWeb objects that are marked as inheriting. This operation may be asynchronous if subsites exist under the current site.

See also

Reference

InheritableProperty<TValueType> class

InheritableProperty<TValueType> members

SetValue overload

Microsoft.SharePoint.Publishing namespace

InheritableProperty<TValueType>