Метод 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.