共用方式為


IViewOptions 介面

The IViewOptions class is an interface that represents a collection of options that is associated with a view.

此 API 不符合 CLS 標準。 

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<StateChangeEventAttribute("ALTER_VIEW", "VIEW")> _
<CLSCompliantAttribute(False)> _
<StateChangeEventAttribute("CREATE_VIEW", "VIEW")> _
<StateChangeEventAttribute("RENAME", "VIEW")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None Or AutomatedPolicyEvaluationMode.Enforce Or AutomatedPolicyEvaluationMode.CheckOnChanges Or AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")> _
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<DisplayNameKeyAttribute("IViewOptions_Name")> _
<DisplayDescriptionKeyAttribute("IViewOptions_Desc")> _
Public Interface IViewOptions _
    Inherits IDmfFacet
'用途
Dim instance As IViewOptions
[StateChangeEventAttribute("ALTER_VIEW", "VIEW")]
[CLSCompliantAttribute(false)]
[StateChangeEventAttribute("CREATE_VIEW", "VIEW")]
[StateChangeEventAttribute("RENAME", "VIEW")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[DisplayNameKeyAttribute("IViewOptions_Name")]
[DisplayDescriptionKeyAttribute("IViewOptions_Desc")]
public interface IViewOptions : IDmfFacet
[StateChangeEventAttribute(L"ALTER_VIEW", L"VIEW")]
[CLSCompliantAttribute(false)]
[StateChangeEventAttribute(L"CREATE_VIEW", L"VIEW")]
[StateChangeEventAttribute(L"RENAME", L"VIEW")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::None|AutomatedPolicyEvaluationMode::Enforce|AutomatedPolicyEvaluationMode::CheckOnChanges|AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Smo.LocalizableResources")]
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[DisplayNameKeyAttribute(L"IViewOptions_Name")]
[DisplayDescriptionKeyAttribute(L"IViewOptions_Desc")]
public interface class IViewOptions : IDmfFacet
[<StateChangeEventAttribute("ALTER_VIEW", "VIEW")>]
[<CLSCompliantAttribute(false)>]
[<StateChangeEventAttribute("CREATE_VIEW", "VIEW")>]
[<StateChangeEventAttribute("RENAME", "VIEW")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Smo.LocalizableResources")>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<DisplayNameKeyAttribute("IViewOptions_Name")>]
[<DisplayDescriptionKeyAttribute("IViewOptions_Desc")>]
type IViewOptions =  
    interface
        interface IDmfFacet
    end
public interface IViewOptions extends IDmfFacet