Share via


HasGuidColumn Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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

Syntax

object
.HasGuidColumn

Parts

  • object
    An 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 GUIDs and is available for publication as a merge article.

If FALSE, the table does not have a column containing GUIDs.