共用方式為


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.