Rediger

Del via


ActiveDirectorySubnet.Site Property

Definition

Gets or sets the site that the ActiveDirectorySubnet object is a member of.

public:
 property System::DirectoryServices::ActiveDirectory::ActiveDirectorySite ^ Site { System::DirectoryServices::ActiveDirectory::ActiveDirectorySite ^ get(); void set(System::DirectoryServices::ActiveDirectory::ActiveDirectorySite ^ value); };
public System.DirectoryServices.ActiveDirectory.ActiveDirectorySite? Site { get; set; }
public System.DirectoryServices.ActiveDirectory.ActiveDirectorySite Site { get; set; }
member this.Site : System.DirectoryServices.ActiveDirectory.ActiveDirectorySite with get, set
Public Property Site As ActiveDirectorySite

Property Value

An ActiveDirectorySite object for the site that the ActiveDirectorySubnet object is a member of.

Exceptions

Applies to set only. The specified ActiveDirectorySite object does not exist. If it was newly created, it must be committed to the directory store before assigning it to the ActiveDirectorySubnet object.

The object has been disposed.

Applies to

See also