MailServerCollection クラス
MailServerCollection クラスは MailServer オブジェクトのコレクションです。これは、SQL Server データベース メール サブシステムで定義されているすべてのメール サーバーを表します。
名前空間: Microsoft.SqlServer.Management.Smo.Mail
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public NotInheritable Class MailServerCollection _
Inherits SimpleObjectCollectionBase
'使用
Dim instance As MailServerCollection
public sealed class MailServerCollection : SimpleObjectCollectionBase
public ref class MailServerCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type MailServerCollection =
class
inherit SimpleObjectCollectionBase
end
public final class MailServerCollection extends SimpleObjectCollectionBase
説明
MailServerCollection オブジェクトを使用して、一連のメール サーバーにアクセスできます。特定の MailServer オブジェクトを取得するには、Item プロパティを使用します。
スレッド セーフ
この型の public static (Microsoft Visual Basic では Shared) のすべてのメンバーは、マルチスレッド操作で安全に使用できます。 インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
継承階層
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .AbstractCollectionBase
Microsoft.SqlServer.Management.Smo. . :: . .SmoCollectionBase
Microsoft.SqlServer.Management.Smo. . :: . .SortedListCollectionBase
Microsoft.SqlServer.Management.Smo. . :: . .SimpleObjectCollectionBase
Microsoft.SqlServer.Management.Smo.Mail..::..MailServerCollection
スレッド セーフ
この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。