Share via


DbSyncColumnDescription.IsPrimaryKeySpecified Property

Gets or sets whether a value is specified for the IsPrimaryKey property.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public ReadOnly Property IsPrimaryKeySpecified As Boolean
    Get
'Usage
Dim instance As DbSyncColumnDescription
Dim value As Boolean

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

Property Value

Type: System.Boolean
true if a value is specified for IsPrimaryKey; otherwise false.

Remarks

This property is used when Sync Framework serializes column information to XML. If the value of this property is false, the value of IsPrimaryKey is undefined and should be ignored. In that case, the value of IsPrimaryKey will not be serialized.

See Also

Reference

DbSyncColumnDescription Class

Microsoft.Synchronization.Data Namespace