InheritableProperty<TValueType>.SetValue - Méthode (TValueType)
Définit la valeur de cette propriété.
Espace de noms : Microsoft.SharePoint.Publishing
Assembly : Microsoft.SharePoint.Publishing (dans Microsoft.SharePoint.Publishing.dll)
Syntaxe
'Déclaration
Public Function SetValue ( _
value As TValueType _
) As LongRunningOperationJob
'Utilisation
Dim instance As InheritableProperty
Dim value As TValueType
Dim returnValue As LongRunningOperationJob
returnValue = instance.SetValue(value)
public LongRunningOperationJob SetValue(
TValueType value
)
Paramètres
value
Type : TValueTypeLa valeur de la propriété définie par cette méthode.
Valeur renvoyée
Type : LongRunningOperationJob
Un objet LongRunningOperationJob .
Remarques
Cette méthode définit la valeur de la propriété sur l'objet PublishingWeb en cours. Si il y a les objets enfant PublishingWeb défini sur inherit, toutes les modifications sont propagées aux objets enfants PublishingWeb . L'utilisateur actuel doit avoir les autorisations permettant de modifier l'objet de PublishingWeb parent, mais n'a pas besoin des autorisations pour modifier des objets enfants PublishingWeb qui sont marqués comme l'héritage. Cette opération peut être asynchrone s'il existent des sous-sites sous le site actuel.
Voir aussi
Référence
InheritableProperty<TValueType> classe
InheritableProperty<TValueType> - Membres