Freigeben über


EnumDependentPolicies-Methode

Returns a collection of polices that are dependent on the condition.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Function EnumDependentPolicies As ReadOnlyCollection(Of Policy)
'Usage
Dim instance As Condition
Dim returnValue As ReadOnlyCollection(Of Policy)

returnValue = instance.EnumDependentPolicies()
public ReadOnlyCollection<Policy> EnumDependentPolicies()
public:
ReadOnlyCollection<Policy^>^ EnumDependentPolicies()
member EnumDependentPolicies : unit -> ReadOnlyCollection<Policy> 
public function EnumDependentPolicies() : ReadOnlyCollection<Policy>

Rückgabewert

Typ: System.Collections.ObjectModel. . :: . .ReadOnlyCollection< (Of < ( <'Policy> ) > ) >
A PolicyCollection object that contains the polices that are dependent on the condition.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.