다음을 통해 공유


ProtocolField.FieldReference Property

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.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

ProtocolField Class
ProtocolField Members
Microsoft.SqlServer.Management.Nmo Namespace

관련 자료

FieldReference Element (ADF)
배달 프로토콜 이름 및 필드 지정