다음을 통해 공유


MailProfileCollection 클래스

The MailProfileCollection class represents a collection of MailProfile objects that represent all the mail profiles defined on the SQL Server Database Mail subsystem.

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

구문

‘선언
Public NotInheritable Class MailProfileCollection _
    Inherits SimpleObjectCollectionBase
‘사용 방법
Dim instance As MailProfileCollection
public sealed class MailProfileCollection : SimpleObjectCollectionBase
public ref class MailProfileCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type MailProfileCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public final class MailProfileCollection extends SimpleObjectCollectionBase

주의

A MailProfileCollection object can be used to gain access to a set of mail profiles. You can use the Item property to return a specific MailProfile object.

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

스레드로부터의 안전성

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