مشاركة عبر


ReplicationTable.HasGuidColumn Property

Gets a value that indicates whether or not the table has at least one globally unique identifier column.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public ReadOnly Property HasGuidColumn As Boolean 
    Get
'Usage
Dim instance As ReplicationTable 
Dim value As Boolean 

value = instance.HasGuidColumn
public bool HasGuidColumn { get; }
public:
property bool HasGuidColumn {
    bool get ();
}
member HasGuidColumn : bool
function get HasGuidColumn () : boolean

Property Value

Type: System.Boolean
true if the table has a globally unique identifier column; false if the table has no globally unique identifier columns.

Remarks

The HasGuidColumn property can be retrieved by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.

See Also

Reference

ReplicationTable Class

Microsoft.SqlServer.Replication Namespace