共用方式為


ActiveDirectorySubnet.Site 屬性

定義

取得或設定 ActiveDirectorySubnet 物件所隸屬的站台。

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

屬性值

ActiveDirectorySite 物件所隸屬的站台之 ActiveDirectorySubnet 物件。

例外狀況

僅適用於 set。 指定的 ActiveDirectorySite 物件不存在。 如果它是新建的,則必須讓目錄存放區認可它之後,才能將它指派給 ActiveDirectorySubnet 物件。

物件已被處置。

適用於

另請參閱