共用方式為


SPGroup.AutoAcceptRequestToJoinLeave property

取得或設定布林值,指定使用者是否會自動加入或移除它們提出要求時。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property AutoAcceptRequestToJoinLeave As Boolean
    Get
    Set
'用途
Dim instance As SPGroup
Dim value As Boolean

value = instance.AutoAcceptRequestToJoinLeave

instance.AutoAcceptRequestToJoinLeave = value
public bool AutoAcceptRequestToJoinLeave { get; set; }

Property value

Type: System.Boolean
若要指定使用者會自動加入或移除時它們會使要求 ; true否則, false。

請參閱

參照

SPGroup class

SPGroup members

Microsoft.SharePoint namespace