A Sandcastle Documented Class Library

# GetShortLinkOptions AccountId Property

Gets or sets an account ID to be associated with the link.

Namespace: Dundas.BI.WebApi.Models
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [DataMemberAttribute(Name = "accountId")]
    public Guid? AccountId { get; set; }

    <DataMemberAttribute(Name := "accountId")>
    Public Property AccountId As Guid?
    	Get
    	Set

    public:
    [DataMemberAttribute(Name = L"accountId")]
    property Nullable<Guid> AccountId {
    	Nullable<Guid> get ();
    	void set (Nullable<Guid> value);
    }

    [<DataMemberAttribute(Name = "accountId")>]
    member AccountId : Nullable<Guid> with get, set

#### Property Value

Type: Nullable
Guid
The ID of the account associated with the short link, or
if the link is not associated with an account.
Exceptions

Exception | Condition
--- | ---
ArgumentException | The value is being set to Empty.

Remarks
If a value is specified for this property, and the corresponding account gets deleted, the short link will be deleted as well. Note: this is not a security control; a short link which is associated with an account can still be retrieved by any user.
See Also

#### Reference

GetShortLinkOptions Class
Dundas.BI.WebApi.Models Namespace