Udostępnij przez


Metoda EvaluationFactory.IsTypeSupportedForConstant

Określa, czy określony typ jest obsługiwany dla używane przez usługi zarządzanie oparte na zasadach jako stała.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Składnia

'Deklaracja
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function IsTypeSupportedForConstant ( _
    type As Type _
) As Boolean
'Użycie
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

Parametry

Wartość zwracana

Typ: System.Boolean
A Boolean wartość określająca, czy typ jest obsługiwany.Jeśli true, typ jest obsługiwany.W przeciwnym razie false.