Classe PolicyCollection
The PolicyCollection class represents a collection of Policy objects that represent all policies in the policy store.
Spazio dei nomi: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Sintassi
'Dichiarazione
Public NotInheritable Class PolicyCollection _
Inherits SfcCollatedDictionaryCollection(Of Policy, Policy..::..Key, PolicyStore)
'Utilizzo
Dim instance As PolicyCollection
public sealed class PolicyCollection : SfcCollatedDictionaryCollection<Policy, Policy..::..Key, PolicyStore>
public ref class PolicyCollection sealed : public SfcCollatedDictionaryCollection<Policy^, Policy..::..Key^, PolicyStore^>
[<SealedAttribute>]
type PolicyCollection =
class
inherit SfcCollatedDictionaryCollection<Policy, Policy..::..Key, PolicyStore>
end
public final class PolicyCollection extends SfcCollatedDictionaryCollection<Policy, Policy..::..Key, PolicyStore>
Osservazioni
A PolicyCollection object can be used to gain access to a set of policies. You can use the Item property to return a specific Policy object.
Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.
Gerarchia di ereditarietà
System. . :: . .Object
SfcCollection< (Of < ( <'Policy, Policy. . :: . .Key, PolicyStore> ) > ) >
SfcCollatedDictionaryCollection< (Of < ( <'Policy, Policy. . :: . .Key, PolicyStore> ) > ) >
Microsoft.SqlServer.Management.Dmf..::..PolicyCollection
Thread Safety
Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.