Share via


AudienceNameID.IsValid Property

Gets a flag that indicates whether the audience is valid.

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

Syntax

'Declaration
Public ReadOnly Property IsValid As Boolean
    Get
'Usage
Dim instance As AudienceNameID
Dim value As Boolean

value = instance.IsValid
public bool IsValid { get; }

Property Value

Type: System.Boolean
A Boolean value. true if the audience is still valid; otherwise, false.

Remarks

The bValid property is read-only. An audience is valid if the audience name exists in the site database and its globally unique identifier (GUID) is still valid.

See Also

Reference

AudienceNameID Class

AudienceNameID Members

Microsoft.Office.Server.Audience Namespace