DynamicValuesAttribute 构造函数

Initializes a new instance of the DynamicValuesAttribute class. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Sub New ( _
    enabled As Boolean _
)
用法
Dim enabled As Boolean

Dim instance As New DynamicValuesAttribute(enabled)
public DynamicValuesAttribute(
    bool enabled
)
public:
DynamicValuesAttribute(
    bool enabled
)
new : 
        enabled:bool -> DynamicValuesAttribute
public function DynamicValuesAttribute(
    enabled : boolean
)

参数

  • enabled
    类型:System. . :: . .Boolean
    true to enable the property value to be a dynamic list; otherwise, false.