Метод EnumTargetSetConditions (Type, PolicyStore.EnumerationMode)
Enumerates conditions on the target.
Пространство имен: Microsoft.SqlServer.Management.Dmf
Сборка: Microsoft.SqlServer.Dmf (в Microsoft.SqlServer.Dmf.dll)
Синтаксис
'Декларация
Public Function EnumTargetSetConditions ( _
type As Type, _
enumerationMode As PolicyStore..::..EnumerationMode _
) As StringCollection
'Применение
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
Параметры
- type
Тип: System. . :: . .Type
A T:System.Type object.
- enumerationMode
Тип: Microsoft.SqlServer.Management.Dmf. . :: . .PolicyStore. . :: . .EnumerationMode
A PolicyStore..::..EnumerationMode object.
Возвращаемое значение
Тип: System.Collections.Specialized. . :: . .StringCollection
A StringCollection of conditions.