Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Gets or sets a reference to a notification field for use in the protocol header.
Пространство имен: Microsoft.SqlServer.Management.Nmo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Синтаксис
'Декларация
Public Property FieldReference As String
public string FieldReference { get; set; }
public:
property String^ FieldReference {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_FieldReference ()
/** @property */
public void set_FieldReference (String value)
public function get FieldReference () : String
public function set FieldReference (value : String)
Значение свойства
A String, between 1 and 128 characters in length, that specifies the name of a notification field.
Замечания
The FieldReference value can be any notification field or computed field defined for the notification class or any of the following built-in fields: DeliveryChannelName, SubscriberId, DeviceName, DeviceTypeName, DeviceAddress, SubscriberLocale.
If the ProtocolField does not use a FieldReference property it must use a SqlExpression property instead.
Пример
The following examples show how to define a protocol field that references a notification class field:
ProtocolField fileProtocolField1 =
new ProtocolField(fileProtocol, "LeavingFrom");
fileProtocolField1.FieldReference = "LeavingFrom";
fileProtocol.ProtocolFields.Add(fileProtocolField1);
Dim fileProtocolField1 As ProtocolField = _
New ProtocolField(fileProtocol, "LeavingFrom")
fileProtocolField1.FieldReference = "LeavingFrom"
fileProtocol.ProtocolFields.Add(fileProtocolField1)
Синхронизация потоков
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.
См. также
Справочник
ProtocolField Class
ProtocolField Members
Microsoft.SqlServer.Management.Nmo Namespace
Другие ресурсы
FieldReference Element (ADF)
Задание имени и полей протокола доставки