Delen via


CreateXmlIndexStatement.Primary Property

Gets or sets a value that indicates whether the Primary keyword is used.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property Primary As Boolean 
    Get 
    Set
'Usage
Dim instance As CreateXmlIndexStatement 
Dim value As Boolean 

value = instance.Primary

instance.Primary = value
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
True if the Primary keyword is used; otherwise, false.

See Also

Reference

CreateXmlIndexStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace