Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
The MailProfile class represents a SQL Server Database Mail subsystem mail profile.
Пространство имен: Microsoft.SqlServer.Management.Smo.Mail
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Синтаксис
'Декларация
Public NotInheritable Class MailProfile
Inherits ScriptNameObjectBase
Implements IAlterable, ICreatable, IDroppable, IRenamable, _
IScriptable
public sealed class MailProfile : ScriptNameObjectBase, IAlterable, ICreatable, IDroppable,
IRenamable, IScriptable
public ref class MailProfile sealed : public ScriptNameObjectBase, IAlterable, ICreatable, IDroppable,
IRenamable, IScriptable
public final class MailProfile extends ScriptNameObjectBase implements IAlterable, ICreatable,
IDroppable, IRenamable, IScriptable
public final class MailProfile extends ScriptNameObjectBase implements IAlterable, ICreatable,
IDroppable, IRenamable, IScriptable
Замечания
The MailProfile object provides programmatic access to the mail profile in the SQL Server Database Mail subsystem. By using the MailAccount object, you can manage SQL Server Database Mail profiles.
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.SmoObjectBase
Microsoft.SqlServer.Management.Smo.SqlSmoObject
Microsoft.SqlServer.Management.Smo.NamedSmoObject
Microsoft.SqlServer.Management.Smo.ScriptNameObjectBase
Microsoft.SqlServer.Management.Smo.Mail.MailProfile
Пример
How to: Create a Database Mail Account by Using Visual Basic .NET
Синхронизация потоков
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
MailProfile Members
Microsoft.SqlServer.Management.Smo.Mail Namespace