Classe ApplicationRoleCollection

The ApplicationRoleCollectionclass represents a collection of ApplicationRole objects that represent all the application roles on the referenced database.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ApplicationRoleCollection _
    Inherits SimpleObjectCollectionBase
'Utilisation
Dim instance As ApplicationRoleCollection
public sealed class ApplicationRoleCollection : SimpleObjectCollectionBase
public ref class ApplicationRoleCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type ApplicationRoleCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public final class ApplicationRoleCollection extends SimpleObjectCollectionBase

Notes

An ApplicationRoleCollection object can be used to gain access to a set of application roles. You can use the Itemproperty to return a specific ApplicationRole object.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.