FacetRepository.GetFacetEvaluationMode 方法
Gets the evaluation mode for the specified type.
命名空间: Microsoft.SqlServer.Management.Facets
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetFacetEvaluationMode ( _
facet As Type _
) As AutomatedPolicyEvaluationMode
用法
Dim facet As Type
Dim returnValue As AutomatedPolicyEvaluationMode
returnValue = FacetRepository.GetFacetEvaluationMode(facet)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public static AutomatedPolicyEvaluationMode GetFacetEvaluationMode(
Type facet
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
static AutomatedPolicyEvaluationMode GetFacetEvaluationMode(
Type^ facet
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member GetFacetEvaluationMode :
facet:Type -> AutomatedPolicyEvaluationMode
public static function GetFacetEvaluationMode(
facet : Type
) : AutomatedPolicyEvaluationMode
参数
- facet
类型:System.Type
A Type that specifies the facet.
返回值
类型:Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode
The AutomatedPolicyEvaluationMode object value that specifies the evaluation mode for the facet.