Udostępnij przez


Metoda PolicyStore.EnumRootConditions

Zwraca listę głównych warunków dla określonego typu.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Składnia

'Deklaracja
Public Function EnumRootConditions ( _
    rootType As Type _
) As StringCollection
'Użycie
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

Parametry

  • rootType
    Typ: System.Type
    A Type obiekt, który określa typ katalogu głównego.

Wartość zwracana

Typ: System.Collections.Specialized.StringCollection
A StringCollection obiekt, który zawiera listę głównych warunków.