共用方式為


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.