Share via


Hierarchy.AllowDuplicateNames Property

Gets or sets the Boolean value to allow duplicate names for a Hierarchy object.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Property AllowDuplicateNames As Boolean
    Get
    Set
'Usage
Dim instance As Hierarchy
Dim value As Boolean

value = instance.AllowDuplicateNames

instance.AllowDuplicateNames = value
public bool AllowDuplicateNames { get; set; }
public:
property bool AllowDuplicateNames {
    bool get ();
    void set (bool value);
}
member AllowDuplicateNames : bool with get, set
function get AllowDuplicateNames () : boolean
function set AllowDuplicateNames (value : boolean)

Property Value

Type: System.Boolean
true if duplicate names are allowed; otherwise, false.