共用方式為


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 命名空間