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.