Freigeben über


ITableOptions-Schnittstelle

The ITableOptions class is an interface that represents a collection of options that is associated with a table.

Diese API ist nicht mit CLS kompatibel. Die CLS-kompatible Alternative ist .

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

Syntax

'Declaration
<StateChangeEventAttribute("CREATE_TABLE", "TABLE")> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<DisplayDescriptionKeyAttribute("ITableOptions_Desc")> _
<DisplayNameKeyAttribute("ITableOptions_Name")> _
<CLSCompliantAttribute(False)> _
<StateChangeEventAttribute("ALTER_TABLE", "TABLE")> _
<StateChangeEventAttribute("RENAME", "TABLE")> _
<StateChangeEventAttribute("ALTER_AUTHORIZATION_DATABASE", "TABLE")> _
<StateChangeEventAttribute("ALTER_SCHEMA", "TABLE")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None Or AutomatedPolicyEvaluationMode.Enforce Or AutomatedPolicyEvaluationMode.CheckOnChanges Or AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
Public Interface ITableOptions _
    Inherits IDmfFacet
'Usage
Dim instance As ITableOptions
[StateChangeEventAttribute("CREATE_TABLE", "TABLE")]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayDescriptionKeyAttribute("ITableOptions_Desc")]
[DisplayNameKeyAttribute("ITableOptions_Name")]
[CLSCompliantAttribute(false)]
[StateChangeEventAttribute("ALTER_TABLE", "TABLE")]
[StateChangeEventAttribute("RENAME", "TABLE")]
[StateChangeEventAttribute("ALTER_AUTHORIZATION_DATABASE", "TABLE")]
[StateChangeEventAttribute("ALTER_SCHEMA", "TABLE")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public interface ITableOptions : IDmfFacet
[StateChangeEventAttribute(L"CREATE_TABLE", L"TABLE")]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[DisplayDescriptionKeyAttribute(L"ITableOptions_Desc")]
[DisplayNameKeyAttribute(L"ITableOptions_Name")]
[CLSCompliantAttribute(false)]
[StateChangeEventAttribute(L"ALTER_TABLE", L"TABLE")]
[StateChangeEventAttribute(L"RENAME", L"TABLE")]
[StateChangeEventAttribute(L"ALTER_AUTHORIZATION_DATABASE", L"TABLE")]
[StateChangeEventAttribute(L"ALTER_SCHEMA", L"TABLE")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::None|AutomatedPolicyEvaluationMode::Enforce|AutomatedPolicyEvaluationMode::CheckOnChanges|AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public interface class ITableOptions : IDmfFacet
[<StateChangeEventAttribute("CREATE_TABLE", "TABLE")>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<DisplayDescriptionKeyAttribute("ITableOptions_Desc")>]
[<DisplayNameKeyAttribute("ITableOptions_Name")>]
[<CLSCompliantAttribute(false)>]
[<StateChangeEventAttribute("ALTER_TABLE", "TABLE")>]
[<StateChangeEventAttribute("RENAME", "TABLE")>]
[<StateChangeEventAttribute("ALTER_AUTHORIZATION_DATABASE", "TABLE")>]
[<StateChangeEventAttribute("ALTER_SCHEMA", "TABLE")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
type ITableOptions =  
    interface 
        interface IDmfFacet 
    end
public interface ITableOptions extends IDmfFacet

Der ITableOptions-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft AnsiNullsStatus Gets or sets the Boolean value that determines whether ISO null handling is enabled on the table.
Öffentliche Eigenschaft ChangeTrackingEnabled Gets or sets the Boolean value that determines whether change tracking is enabled on the table.
Öffentliche Eigenschaft CreateDate Gets the date and time when the table was created.
Öffentliche Eigenschaft FakeSystemTable Gets the Boolean value that determines whether the table references a system table.
Öffentliche Eigenschaft ID Gets the ID value that uniquely identifies the table.
Öffentliche Eigenschaft IsSchemaOwned Gets the Boolean value that determines whether the table schema has an owner.
Öffentliche Eigenschaft IsSystemObject Gets the Boolean value that determines whether the table is a system object.
Öffentliche Eigenschaft LockEscalation Gets or sets the type of lock escalation implemented on the table.
Öffentliche Eigenschaft Name Gets or sets the name of the table.
Öffentliche Eigenschaft Owner Gets or sets the owner of the table options.
Öffentliche Eigenschaft QuotedIdentifierStatus Gets or sets the Boolean value that determines whether identifiers delimited by double quotation marks are Transact-SQL reserved keywords or contain characters not usually allowed by the Transact-SQL syntax rules.
Öffentliche Eigenschaft Replicated Gets the Boolean value that determines whether the table is replicated.
Öffentliche Eigenschaft Schema Gets or sets the schema that is associated with the table options.
Öffentliche Eigenschaft TrackColumnsUpdatedEnabled Gets the Boolean value that determines whether column updates in the table are tracked.

Zum Anfang

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo-Namespace