Condividi tramite


HasGuidColumn Property

Questa caratteristica verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

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

Sintassi

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

Osservazioni

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.