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: TValueTypeThe 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