DatabasePermissionCollection 클래스
Represents a collection of IdatabasePermission objects.
상속 계층
System.Object
Microsoft.SqlServer.Management.SqlParser.MetadataProvider.OrderedCollectionBase<IDatabasePermission>
Microsoft.SqlServer.Management.SqlParser.MetadataProvider.OrderedCollection<IDatabasePermission>
Microsoft.SqlServer.Management.SqlParser.MetadataProvider.DatabasePermissionCollection
네임스페이스: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리: Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)
구문
‘선언
Public Class DatabasePermissionCollection _
Inherits OrderedCollection(Of IDatabasePermission)
‘사용 방법
Dim instance As DatabasePermissionCollection
public class DatabasePermissionCollection : OrderedCollection<IDatabasePermission>
public ref class DatabasePermissionCollection : public OrderedCollection<IDatabasePermission^>
type DatabasePermissionCollection =
class
inherit OrderedCollection<IDatabasePermission>
end
public class DatabasePermissionCollection extends OrderedCollection<IDatabasePermission>
DatabasePermissionCollection 유형에서 다음 멤버를 표시합니다.
생성자
이름 | 설명 | |
---|---|---|
DatabasePermissionCollection(CollationInfo) | Initializes a new instance of the DatabasePermissionCollection class that uses the specified object and the default initial capacity. | |
DatabasePermissionCollection(Int32, CollationInfo) | Initializes a new instance of the DatabasePermissionCollection class that uses the specified capacity and CollationInfo object. |
맨 위로 이동
속성
이름 | 설명 | |
---|---|---|
AsMetadataObjectCollection | Gets an IMetadataCollection<T> object that contains this collection. (OrderedCollection<T>에서 상속됨) | |
Count | Gets the number of elements in the collection. (OrderedCollectionBase<T>에서 상속됨) | |
Item[Int32] | Gets the element at the specified index. (OrderedCollectionBase<T>에서 상속됨) | |
Item[String] | Gets or sets the element that has the specified name. (OrderedCollectionBase<T>에서 상속됨) |
맨 위로 이동
메서드
이름 | 설명 | |
---|---|---|
Add | Adds an object to the collection using its name as the key. (OrderedCollectionBase<T>에서 상속됨) | |
AddRange | Adds the elements of the specified collection to this collection. (OrderedCollectionBase<T>에서 상속됨) | |
Clear | Removes all elements from the collection. (OrderedCollectionBase<T>에서 상속됨) | |
Clone() | Creates an IMutableMetadataCollection<T> instance that is a copy of this object, except for the elements. (OrderedCollectionBase<T>에서 상속됨) | |
Clone(Boolean) | Creates an IMutableMetadataCollection<T> instance that is a copy of this object and, if specified, also copies the elements. (OrderedCollectionBase<T>에서 상속됨) | |
Contains(String) | Determines whether the specified element is in the collection. (OrderedCollectionBase<T>에서 상속됨) | |
Contains(T) | Determines whether the specified element is in the collection. (OrderedCollectionBase<T>에서 상속됨) | |
Equals | (Object에서 상속됨) | |
Finalize | (Object에서 상속됨) | |
FindAll(Predicate<T>) | Finds all elements in the collection that match the conditions that are defined by the specified predicate. (OrderedCollectionBase<T>에서 상속됨) | |
FindAll(String) | Finds all elements in the collection that have the specified name. (OrderedCollectionBase<T>에서 상속됨) | |
GetEnumerator | Returns an enumerator that iterates through the collection. (OrderedCollectionBase<T>에서 상속됨) | |
GetHashCode | (Object에서 상속됨) | |
GetType | (Object에서 상속됨) | |
MemberwiseClone | (Object에서 상속됨) | |
Remove(String) | Removes the element that has the specified name from the collection. (OrderedCollectionBase<T>에서 상속됨) | |
Remove(T) | Removes the specified element from the collection. (OrderedCollectionBase<T>에서 상속됨) | |
ToString | (Object에서 상속됨) |
맨 위로 이동
명시적 인터페이스 구현
이름 | 설명 | |
---|---|---|
IEnumerable<IMetadataObject>.GetEnumerator | Returns an enumerator that can iterate through the collection. (OrderedCollection<T>에서 상속됨) | |
IEnumerable.GetEnumerator | Returns an enumerator that can iterate through the collection. (OrderedCollection<T>에서 상속됨) | |
IMetadataCollection<IMetadataObject>.AsMetadataObjectCollection | Gets an IMetadataCollection<T> object that contains this collection. (OrderedCollection<T>에서 상속됨) | |
IMetadataCollection<IMetadataObject>.Contains(String) | Determines whether the collection contains an element that has the specified name. (OrderedCollection<T>에서 상속됨) | |
IMetadataCollection<IMetadataObject>.Contains(IMetadataObject) | Determines whether the collection contains an element that has the specified name. (OrderedCollection<T>에서 상속됨) | |
IMetadataCollection<IMetadataObject>.Count | Gets the number of elements in the collection. (OrderedCollection<T>에서 상속됨) | |
IMetadataCollection<IMetadataObject>.FindAll(String) | Determines whether the collection contains an element that has the specified name. (OrderedCollection<T>에서 상속됨) | |
IMetadataCollection<IMetadataObject>.FindAll(Predicate<IMetadataObject>) | Retrieves all elements in the collection that match the conditions defined by the specified predicate. (OrderedCollection<T>에서 상속됨) | |
IMetadataCollection<IMetadataObject>.Item[String] | Gets the element in the collection by name. (OrderedCollection<T>에서 상속됨) | |
IMetadataCollection<T>.Item[String] | Gets the element that has the specified name. (OrderedCollectionBase<T>에서 상속됨) | |
IMetadataOrderedCollection<IMetadataObject>.Item | Gets an element in the collection at the specified index. (OrderedCollection<T>에서 상속됨) |
맨 위로 이동
스레드 보안
이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.
참고 항목
참조
Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스