Partilhar via


SPWeb.AssociatedVisitorGroup Property

Gets or sets the associated visitor group of the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property AssociatedVisitorGroup As SPGroup
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As SPGroup

value = instance.AssociatedVisitorGroup

instance.AssociatedVisitorGroup = value
[ClientCallableAttribute]
public SPGroup AssociatedVisitorGroup { get; set; }

Property Value

Type: Microsoft.SharePoint.SPGroup
An SPGroup object that represents the associated visitor group.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace