ActiveDirectorySubnet.Site Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.