HasGuidColumn Property

后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

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

语法

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);

备注

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.

Applies To:

ReplicationTable Object