RelationshipQuery.ThisRole Propriedade

Definição

Obtém ou define a função do objeto de origem na relação.Gets or sets the role of the source object in the relationship.

public:
 property System::String ^ ThisRole { System::String ^ get(); void set(System::String ^ value); };
public string ThisRole { get; set; }
member this.ThisRole : string with get, set
Public Property ThisRole As String

Valor da propriedade

String

Retorna um String valor que contém a função deste objeto.Returns a String value containing the role of this object.

Comentários

Definir esse valor de propriedade substitui qualquer valor anterior armazenado no objeto.Setting this property value overrides any previous value stored in the object. A cadeia de caracteres de consulta é recriada para refletir a nova função.The query string is rebuilt to reflect the new role.

Valor da propriedadeProperty Value

Uma cadeia de caracteres que contém a função deste objeto.A string containing the role of this object.

Segurança do .NET Framework.NET Framework Security

Confiança total para o chamador imediato.Full trust for the immediate caller. Este membro não pode ser usado pelo código parcialmente confiável.This member cannot be used by partially trusted code. Para obter mais informações, consulte usando bibliotecas de código parcialmente confiável.For more information, see Using Libraries from Partially Trusted Code.

Aplica-se a