EvaluationFactory.IsTypeSupported Method
Determines whether the specified type is supported by policy-based management services.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function IsTypeSupported ( _
type As Type _
) As Boolean
'Usage
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
Parameters
- type
Type: System.Type
A Type object value that specifies the type.
Return Value
Type: System.Boolean
A Boolean value that specifies whether the type is supported. If true, the type is supported. Otherwise, false.