Sdílet prostřednictvím


PolicyStore.EnumTargetSetConditions Method (Type, PolicyStore.EnumerationMode)

Enumerates conditions on the target.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Function EnumTargetSetConditions ( _
    type As Type, _
    enumerationMode As PolicyStore.EnumerationMode _
) As StringCollection
'Usage
Dim instance As PolicyStore 
Dim type As Type 
Dim enumerationMode As PolicyStore.EnumerationMode 
Dim returnValue As StringCollection 

returnValue = instance.EnumTargetSetConditions(type, _
    enumerationMode)
public StringCollection EnumTargetSetConditions(
    Type type,
    PolicyStore.EnumerationMode enumerationMode
)
public:
StringCollection^ EnumTargetSetConditions(
    Type^ type, 
    PolicyStore.EnumerationMode enumerationMode
)
member EnumTargetSetConditions : 
        type:Type * 
        enumerationMode:PolicyStore.EnumerationMode -> StringCollection
public function EnumTargetSetConditions(
    type : Type, 
    enumerationMode : PolicyStore.EnumerationMode
) : StringCollection

Parameters

Return Value

Type: System.Collections.Specialized.StringCollection
A StringCollection of conditions.

See Also

Reference

PolicyStore Class

EnumTargetSetConditions Overload

Microsoft.SqlServer.Management.Dmf Namespace