Méthode EvaluationFactory.IsTypeSupportedForConstant
Determines whether the specified type is supported for being used as a constant by policy-based management services.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function IsTypeSupportedForConstant ( _
type As Type _
) As Boolean
'Utilisation
Dim type As Type
Dim returnValue As Boolean
returnValue = EvaluationFactory.IsTypeSupportedForConstant(type)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public static bool IsTypeSupportedForConstant(
Type type
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
static bool IsTypeSupportedForConstant(
Type^ type
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member IsTypeSupportedForConstant :
type:Type -> bool
public static function IsTypeSupportedForConstant(
type : Type
) : boolean
Paramètres
- type
Type : System.Type
A Type object value that specifies the type.
Valeur de retour
Type : System.Boolean
A Boolean value that specifies whether the type is supported. If true, the type is supported. Otherwise, false.