Share via


CreateXmlIndexStatement.Primary Property

Gets or sets whether the Primary keyword is used.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property Primary As Boolean
public bool Primary { get; set; }
public:
property bool Primary {
    bool get ();
    void set (bool value);
}
member Primary : bool with get, set
function get Primary () : boolean
function set Primary (value : boolean)

Property Value

Type: System.Boolean
Returns true if the Primary keyword is used, false otherwise.

.NET Framework Security

See Also

Reference

CreateXmlIndexStatement Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace