LaunchOnBehalfOfPrivilegeAttribute - Classe

Spécifie que si un service est marqué avec le LaunchOnBehalfOfPrivilegeAttribute de son compte d'utilisateur sera obtenir les privilèges de SE_ASSIGNPRIMARYTOKEN_NAME et SE_INCREASE_QUOTA_NAME.

Hiérarchie d’héritage

System.Object
  System.Attribute
    Microsoft.SharePoint.Administration.LaunchOnBehalfOfPrivilegeAttribute

Espace de noms :  Microsoft.SharePoint.Administration
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class LaunchOnBehalfOfPrivilegeAttribute _
    Inherits Attribute
'Utilisation
Dim instance As LaunchOnBehalfOfPrivilegeAttribute
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class LaunchOnBehalfOfPrivilegeAttribute : Attribute

Cohérence de thread

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.

Voir aussi

Référence

LaunchOnBehalfOfPrivilegeAttribute - Membres

Microsoft.SharePoint.Administration - Espace de noms