ReplicationTable.HasHierarchyidColumn Property

Gets whether the table has a hierarchyid type column.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public ReadOnly Property HasHierarchyidColumn As Boolean
    Get
'Usage
Dim instance As ReplicationTable
Dim value As Boolean

value = instance.HasHierarchyidColumn
public bool HasHierarchyidColumn { get; }
public:
property bool HasHierarchyidColumn {
    bool get ();
}
member HasHierarchyidColumn : bool
function get HasHierarchyidColumn () : boolean

Property Value

Type: System.Boolean
A Boolean value. If true, the table has at least one hierarchyid column. If false, the table does not have a hierarchyid column.

Remarks

The HasHierarchyidColumn property can be retrieved by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.

The HasHierarchyidColumn property is available with SQL Server 2008.