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.