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 对象。

例外

仅适用于设置。 指定的 ActiveDirectorySite 对象不存在。 如果它是新创建的,则在将其分配给 ActiveDirectorySubnet 对象之前,必须将其提交给目录存储区。

已释放此对象。

适用于

另请参阅