PolicyStore.EnumRootConditions 方法

Returns a list of root conditions for the specified type.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
Public Function EnumRootConditions ( _
    rootType As Type _
) As StringCollection
用法
Dim instance As PolicyStore 
Dim rootType As Type 
Dim returnValue As StringCollection 

returnValue = instance.EnumRootConditions(rootType)
public StringCollection EnumRootConditions(
    Type rootType
)
public:
StringCollection^ EnumRootConditions(
    Type^ rootType
)
member EnumRootConditions : 
        rootType:Type -> StringCollection
public function EnumRootConditions(
    rootType : Type
) : StringCollection

参数

  • rootType
    类型:System.Type
    A Type object that specifies the root type.

返回值

类型:System.Collections.Specialized.StringCollection
A StringCollection object that contains the list of root conditions.

请参阅

参考

PolicyStore 类

Microsoft.SqlServer.Management.Dmf 命名空间