다음을 통해 공유


AudienceSiteInfo Constructor (ServerContext, AudienceAccessRights)

NOTE: This API is now obsolete.

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
<ObsoleteAttribute("ServerContext parameter is obsolete, use SPServiceContext instead.")> _
Public Sub New ( _
    serverContext As ServerContext, _
    AccessRights As AudienceAccessRights _
)
'Usage
Dim serverContext As ServerContext
Dim AccessRights As AudienceAccessRights

Dim instance As New AudienceSiteInfo(serverContext, _
    AccessRights)
[ObsoleteAttribute("ServerContext parameter is obsolete, use SPServiceContext instead.")]
public AudienceSiteInfo(
    ServerContext serverContext,
    AudienceAccessRights AccessRights
)

Parameters

See Also

Reference

AudienceSiteInfo Class

AudienceSiteInfo Members

AudienceSiteInfo Overload

Microsoft.Office.Server.Audience Namespace