Compartir a través de


IsTypeSupportedForConstant Método

Determines whether the specified type is supported for being used as a constant by policy-based management services.

Espacio de nombres:  Microsoft.SqlServer.Management.Dmf
Ensamblado:  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Sintaxis

'Declaración
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function IsTypeSupportedForConstant ( _
    type As Type _
) As Boolean
'Uso
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

Parámetros

Valor devuelto

Tipo: System. . :: . .Boolean
A Boolean value that specifies whether the type is supported. If true, the type is supported. Otherwise, false.