Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the flag to indicate whether this property inherits its value from its parent site.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Function SetInherit ( _
inherit As Boolean, _
forceAllSubWebInherit As Boolean, _
successUrl As String, _
failureUrl As String _
) As LongRunningOperationJob
'Usage
Dim instance As InheritableProperty
Dim inherit As Boolean
Dim forceAllSubWebInherit As Boolean
Dim successUrl As String
Dim failureUrl As String
Dim returnValue As LongRunningOperationJob
returnValue = instance.SetInherit(inherit, _
forceAllSubWebInherit, successUrl, _
failureUrl)
public LongRunningOperationJob SetInherit(
bool inherit,
bool forceAllSubWebInherit,
string successUrl,
string failureUrl
)
Parameters
inherit
Type: System.Booleantrue to inherit; otherwise, false.
forceAllSubWebInherit
Type: System.BooleanForces all subsites to inherit this value, even if the property on a subsite currently does not inherit.
successUrl
Type: System.StringA string that specifies the Url indicating success.
failureUrl
Type: System.StringA string that specifies the Url indicating failure.
Return Value
Type: LongRunningOperationJob
See Also
Reference
InheritableProperty<TValueType> Class
InheritableProperty<TValueType> Members