LaunchOnBehalfOfPrivilegeAttribute class
Especifica que se um serviço estiver marcado com o LaunchOnBehalfOfPrivilegeAttribute sua conta de usuário terá os privilégios SE_ASSIGNPRIMARYTOKEN_NAME e SE_INCREASE_QUOTA_NAME.
Inheritance hierarchy
System.Object
System.Attribute
Microsoft.SharePoint.Administration.LaunchOnBehalfOfPrivilegeAttribute
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
<SerializableAttribute> _
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class LaunchOnBehalfOfPrivilegeAttribute _
Inherits Attribute
'Uso
Dim instance As LaunchOnBehalfOfPrivilegeAttribute
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class LaunchOnBehalfOfPrivilegeAttribute : Attribute
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.