SPGroup.AllowRequestToJoinLeave property
取得或設定布林值,指定是否允許使用者要求群組的成員資格,並且允許使用者要求要離開群組。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property AllowRequestToJoinLeave As Boolean
Get
Set
'用途
Dim instance As SPGroup
Dim value As Boolean
value = instance.AllowRequestToJoinLeave
instance.AllowRequestToJoinLeave = value
public bool AllowRequestToJoinLeave { get; set; }
Property value
Type: System.Boolean
若要允許使用者要求的成員資格群組或要求離開群組 ; true否則, false。