HasGuidColumn Property

SQL-DMO

SQL-DMO

HasGuidColumn Property

The HasGuidColumn property reports the presence of a globally unique identifier column in the replicated table.

Applies To
ReplicationTable Object
Syntax

object.HasGuidColumn

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetHasGuidColumn(LPBOOL pRetVal);

Remarks

Merge replication articles rely on the presence of a column defined with the data type uniqueidentifier.

If TRUE, the table has a column containing globally unique identifiers and is available for publication as a merge article.

If FALSE, the table does not have a column containing globally unique identifiers.