Méthode EnumTargetSetConditions (Type, PolicyStore.EnumerationMode)
Enumerates conditions on the target.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Public Function EnumTargetSetConditions ( _
type As Type, _
enumerationMode As PolicyStore..::..EnumerationMode _
) As StringCollection
'Utilisation
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
Paramètres
- type
Type : System. . :: . .Type
A T:System.Type object.
- enumerationMode
Type : Microsoft.SqlServer.Management.Dmf. . :: . .PolicyStore. . :: . .EnumerationMode
A PolicyStore..::..EnumerationMode object.
Valeur de retour
Type : System.Collections.Specialized. . :: . .StringCollection
A StringCollection of conditions.