IsTypeSupported 方法

Determines whether the specified type is supported by policy-based management services.

命名空间:  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
A Boolean value that specifies whether the type is supported. If true, the type is supported. Otherwise, false.