Condividi tramite


InheritableProperty<TValueType>.SetInherit Method (Boolean, Boolean, String, String)

This member is reserved for internal use and is not intended to be used directly from your code.

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

Return Value

Type: LongRunningOperationJob

See Also

Reference

InheritableProperty<TValueType> Class

InheritableProperty<TValueType> Members

SetInherit Overload

Microsoft.SharePoint.Publishing Namespace

InheritableProperty<TValueType>