다음을 통해 공유


ApplicationRoleCollection 클래스

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public NotInheritable Class ApplicationRoleCollection _
    Inherits SimpleObjectCollectionBase
‘사용 방법
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

주의

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.

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.