Partager via


Constructeur DynamicValuesAttribute

Initializes a new instance of the DynamicValuesAttribute class. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    enabled As Boolean _
)
'Utilisation
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
)

Paramètres

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