次の方法で共有


IsTypeSupportedForConstant メソッド

指定された型をポリシー ベースの管理サービスで定数として使用できるかどうかを示します。

名前空間:  Microsoft.SqlServer.Management.Dmf
アセンブリ:  Microsoft.SqlServer.Dmf (Microsoft.SqlServer.Dmf.dll)

構文

'宣言
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function IsTypeSupportedForConstant ( _
    type As Type _
) As Boolean
'使用
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

パラメーター

戻り値

型: System. . :: . .Boolean
型がサポートされているかどうかを示す Boolean 値です。true の場合、型はサポートされています。それ以外の場合は false を返します。