ActiveDirectorySiteLink.Cost Property

Definition

Gets or sets the site link cost.

public:
 property int Cost { int get(); void set(int value); };
public int Cost { get; set; }
member this.Cost : int with get, set
Public Property Cost As Integer

Property Value

A cost that is associated with this site link. The default value is 100.

Exceptions

An Active Directory Domain Services operation failed. See the exception for details.

The cost is less than zero. (applies to set only)

The object has been disposed.

Applies to