次の方法で共有


IsTypeSupported メソッド

指定された型がポリシー ベースの管理サービスでサポートされているかどうかを示します。

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

構文

'宣言
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function IsTypeSupported ( _
    type As Type _
) As Boolean
'使用
Dim type As Type
Dim returnValue As Boolean

returnValue = EvaluationFactory.IsTypeSupported(type)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public static bool IsTypeSupported(
    Type type
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
static bool IsTypeSupported(
    Type^ type
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member IsTypeSupported : 
        type:Type -> bool 
public static function IsTypeSupported(
    type : Type
) : boolean

パラメーター

戻り値

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