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
- type
Type: System.Type
A T:System.Type object.
- enumerationMode
Type: Microsoft.SqlServer.Management.Dmf.PolicyStore.EnumerationMode
A PolicyStore.EnumerationMode object.
Return Value
Type: System.Collections.Specialized.StringCollection
A StringCollection of conditions.