다음을 통해 공유


AudienceNameID.IsValid Property

Gets a flag that indicates whether the audience is valid.

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.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 IsValid property is read-only. An audience is valid if the audience name exists in the site database and its GUID is still valid.

See Also

Reference

AudienceNameID Class

AudienceNameID Members

Microsoft.Office.Server.Audience Namespace