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
<XmlIgnoreAttribute> _
Public ReadOnly Property IsPrimaryKeySpecified As Boolean
'Usage
Dim instance As DbSyncColumnDescription
Dim value As Boolean

value = instance.IsPrimaryKeySpecified
[XmlIgnoreAttribute] 
public bool IsPrimaryKeySpecified { get; }
[XmlIgnoreAttribute] 
public:
property bool IsPrimaryKeySpecified {
    bool get ();
}
/** @property */
public boolean get_IsPrimaryKeySpecified ()
public function get IsPrimaryKeySpecified () : boolean

Property Value

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
DbSyncColumnDescription Members
Microsoft.Synchronization.Data Namespace