Compartilhar via


Propriedade do RDL IndexedColumn.IsIncluded

Gets or sets the Boolean property value that specifies whether the column is included in the index.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design Or SfcPropertyFlags.Deploy)> _
Public Property IsIncluded As Boolean 
    Get 
    Set
'Uso
Dim instance As IndexedColumn 
Dim value As Boolean 

value = instance.IsIncluded

instance.IsIncluded = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design|SfcPropertyFlags.Deploy)]
public bool IsIncluded { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design|SfcPropertyFlags::Deploy)]
public:
property bool IsIncluded {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design|SfcPropertyFlags.Deploy)>]
member IsIncluded : bool with get, set
function get IsIncluded () : boolean 
function set IsIncluded (value : boolean)

Valor da propriedade

Tipo: System.Boolean
A Boolean value that specifies whether the column is included in the index.If True, the column is included in the index.If False (default), the column is not included in the index.

Exemplos

Criando, alterando e removendo índices

Consulte também

Referência

IndexedColumn Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Índices

CREATE INDEX (Transact-SQL)