Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets the ServiceAgent object used to connect to the Web Service.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public ReadOnly Property ServiceAgent As ServiceAgent
'Usage
Dim instance As MarketingContext
Dim value As ServiceAgent
value = instance.ServiceAgent
public ServiceAgent ServiceAgent { get; }
public:
property ServiceAgent^ ServiceAgent {
ServiceAgent^ get ();
}
public function get ServiceAgent () : ServiceAgent
Property Value
Type: Microsoft.CommerceServer..::.ServiceAgent
A ServiceAgent object used to connect to the Web Service.
Remarks
The ServiceAgent object contains the URL to the WebService. Callers should always check for a non-null reference before using the returned ServiceAgent object.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.