Freigeben über


ReplicationTable.HasHierarchyidColumn-Eigenschaft

Gets a value that indicates 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

Eigenschaftswert

Typ: System.Boolean
true if the table has at least one hierarchyid column; false if the table does not have a hierarchyid column.

Hinweise

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 and later versions.

Siehe auch

Verweis

ReplicationTable Klasse

Microsoft.SqlServer.Replication-Namespace