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
- serverContext
Type: Microsoft.Office.Server.ServerContext
- AccessRights
Type: Microsoft.Office.Server.Audience.AudienceAccessRights