Share via


LaunchOnBehalfOfPrivilegeAttribute class

會指定是否服務已標示LaunchOnBehalfOfPrivilegeAttribute其使用者帳戶會取得 SE_ASSIGNPRIMARYTOKEN_NAME 和 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

'宣告
<SerializableAttribute> _
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class LaunchOnBehalfOfPrivilegeAttribute _
    Inherits Attribute
'用途
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.

請參閱

參照

LaunchOnBehalfOfPrivilegeAttribute members

Microsoft.SharePoint.Administration namespace