次の方法で共有


MailProfile クラス

MailProfile クラスは、SQL Server データベース メール サブシステムのメール プロファイルを表します。

名前空間:  Microsoft.SqlServer.Management.Smo.Mail
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public NotInheritable Class MailProfile _
    Inherits ScriptNameObjectBase _
    Implements IAlterable, ICreatable, IDroppable, IRenamable,  _
    IScriptable
'使用
Dim instance As MailProfile
public sealed class MailProfile : ScriptNameObjectBase, 
    IAlterable, ICreatable, IDroppable, IRenamable, IScriptable
public ref class MailProfile sealed : public ScriptNameObjectBase, 
    IAlterable, ICreatable, IDroppable, IRenamable, IScriptable
[<SealedAttribute>]
type MailProfile =  
    class
        inherit ScriptNameObjectBase
        interface IAlterable
        interface ICreatable
        interface IDroppable
        interface IRenamable
        interface IScriptable
    end
public final class MailProfile extends ScriptNameObjectBase implements IAlterable, ICreatable, IDroppable, IRenamable, IScriptable

説明

MailProfile オブジェクトを使用すると、SQL Server データベース メール サブシステムのメール プロファイルにプログラムでアクセスできます。また、MailAccount オブジェクトを使用することにより、SQL Server データベース メール プロファイルの管理が可能になります。

スレッド セーフ

この型の public static (Microsoft Visual Basic では Shared) のすべてのメンバーは、マルチスレッド操作で安全に使用できます。 インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。