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.