Свойство DatabaseMailProfile
Gets or sets a Database Mail profile.
Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute> _
Public Property DatabaseMailProfile As String
Get
Set
'Применение
Dim instance As JobServer
Dim value As String
value = instance.DatabaseMailProfile
instance.DatabaseMailProfile = value
[SfcPropertyAttribute]
public string DatabaseMailProfile { get; set; }
[SfcPropertyAttribute]
public:
property String^ DatabaseMailProfile {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute>]
member DatabaseMailProfile : string with get, set
function get DatabaseMailProfile () : String
function set DatabaseMailProfile (value : String)
Значение свойства
Тип System. . :: . .String
A String value that specifies the name of the SQL Server Agent Database Mail profile.
Замечания
Это свойство появилось в SQL Server 2005.