SourceLocation Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the URL that points to a document that will be used as a body for the DirectMail.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property SourceLocation As String
'Usage
Dim instance As DirectMail
Dim value As String
value = instance.SourceLocation
instance.SourceLocation = value
public string SourceLocation { get; set; }
public:
property String^ SourceLocation {
String^ get ();
void set (String^ value);
}
public function get SourceLocation () : String
public function set SourceLocation (value : String)
Property Value
Type: System..::.String
The URL that points to a document that will be used as a body for the DirectMail. The default value is nullNothingnullptra null reference (Nothing in Visual Basic), but it must be set to a valid Uri by the time of saving the DirectMail.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | SourceLocation has been set to nullNothingnullptra null reference (Nothing in Visual Basic). |
StringLengthValidationException | SourceLocation has been set to an empty or whitespace URL, or a URL longer than 1024 chars. |
Remarks
Stores the location of the file containing the body of the message.
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.